2240 lines
44 KiB
CSS
2240 lines
44 KiB
CSS
/* ========================================
|
|
Tire Check-in Page Styles
|
|
Mobile-first, clean design
|
|
======================================== */
|
|
|
|
.checkin-page {
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
background: var(--color-bg-gradient);
|
|
padding: 0.75rem;
|
|
padding-bottom: calc(1rem + var(--safe-area-bottom));
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.checkin-page {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.checkin-page {
|
|
padding: 2rem 3rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.checkin-page {
|
|
padding: 3rem 4rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Progress Steps - Responsive
|
|
======================================== */
|
|
.progress-steps {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.75rem 0 1.25rem;
|
|
gap: 0;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.progress-steps {
|
|
padding: 1rem 0 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.progress-steps {
|
|
max-width: 700px;
|
|
}
|
|
}
|
|
|
|
.step {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
opacity: 0.4;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.step {
|
|
gap: 6px;
|
|
}
|
|
}
|
|
|
|
.step.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.step.completed {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.step-number {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 0.8rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.step-number {
|
|
width: 32px;
|
|
height: 32px;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.step-number {
|
|
width: 40px;
|
|
height: 40px;
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
.step.active .step-number {
|
|
background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
|
|
border-color: #ef4444;
|
|
color: #fff;
|
|
}
|
|
|
|
.step.completed .step-number {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
border-color: rgba(34, 197, 94, 0.5);
|
|
color: #86efac;
|
|
}
|
|
|
|
.step.completed .step-number::after {
|
|
content: '✓';
|
|
}
|
|
|
|
.step-label {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.65rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.step-label {
|
|
font-size: 0.75rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.step-label {
|
|
font-size: 0.85rem;
|
|
}
|
|
}
|
|
|
|
.step.active .step-label {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.step-line {
|
|
width: 24px;
|
|
height: 2px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
margin: 0 4px;
|
|
margin-bottom: 18px;
|
|
transition: background 0.3s ease;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.step-line {
|
|
width: 40px;
|
|
margin: 0 8px;
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.step-line {
|
|
width: 80px;
|
|
}
|
|
}
|
|
|
|
.step-line.completed {
|
|
background: rgba(34, 197, 94, 0.5);
|
|
}
|
|
|
|
/* ========================================
|
|
Check-in Card - Responsive
|
|
======================================== */
|
|
.checkin-card {
|
|
background: rgba(28, 28, 30, 0.8);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
padding: 1.25rem;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.checkin-card {
|
|
padding: 1.5rem;
|
|
border-radius: 20px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.checkin-card {
|
|
padding: 2.5rem;
|
|
max-width: 700px;
|
|
border-radius: 24px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.checkin-card {
|
|
max-width: 800px;
|
|
padding: 3rem;
|
|
}
|
|
}
|
|
|
|
.checkin-card h2 {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: clamp(1.25rem, 4vw, 1.75rem);
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
margin: 0 0 1.25rem 0;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.checkin-card h2 {
|
|
margin: 0 0 1.5rem 0;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Mode Toggle - Responsive
|
|
======================================== */
|
|
.mode-toggle {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.mode-toggle {
|
|
gap: 8px;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.mode-btn {
|
|
flex: 1;
|
|
padding: 10px 8px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", 'Rajdhani', sans-serif;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
line-height: 1.4;
|
|
min-height: 44px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.mode-btn {
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.mode-btn:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.mode-btn.active {
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border-color: rgba(220, 38, 38, 0.4);
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* ========================================
|
|
Last Scan Display - NEW
|
|
======================================== */
|
|
.last-scan-display {
|
|
background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
|
|
border: 1px solid rgba(34, 197, 94, 0.4);
|
|
border-radius: 12px;
|
|
padding: 12px 16px;
|
|
margin-bottom: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
animation: scanPulse 0.5s ease-out;
|
|
}
|
|
|
|
.last-scan-display.location {
|
|
background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%);
|
|
border-color: rgba(96, 165, 250, 0.4);
|
|
}
|
|
|
|
@keyframes scanPulse {
|
|
0% {
|
|
transform: scale(0.95);
|
|
opacity: 0;
|
|
}
|
|
50% {
|
|
transform: scale(1.02);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.last-scan-display .scan-label {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.85rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.last-scan-display .scan-code {
|
|
font-family: 'Orbitron', monospace;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #86efac;
|
|
flex: 1;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.last-scan-display.location .scan-code {
|
|
color: #93c5fd;
|
|
}
|
|
|
|
/* ========================================
|
|
Scan Overlay
|
|
======================================== */
|
|
.camera-wrapper {
|
|
position: relative;
|
|
background: #000;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
aspect-ratio: 1;
|
|
max-height: 280px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.scan-overlay {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: linear-gradient(0deg, rgba(34, 197, 94, 0.9) 0%, rgba(34, 197, 94, 0.7) 100%);
|
|
padding: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transform: translateY(100%);
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.scan-overlay.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
animation: scanFlash 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes scanFlash {
|
|
0% { background: rgba(34, 197, 94, 1); }
|
|
100% { background: rgba(34, 197, 94, 0.9); }
|
|
}
|
|
|
|
.scan-overlay .scan-check {
|
|
font-size: 1.5rem;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* ========================================
|
|
Search Box - Responsive
|
|
======================================== */
|
|
.search-box {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.search-box {
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
.search-box .form-control {
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 10px;
|
|
color: #ffffff;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 16px; /* Prevents iOS zoom */
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.search-box .form-control {
|
|
padding: 14px 16px;
|
|
border-radius: 12px;
|
|
}
|
|
}
|
|
|
|
.search-box .form-control:focus {
|
|
outline: none;
|
|
border-color: rgba(220, 38, 38, 0.5);
|
|
box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
|
|
}
|
|
|
|
.search-box .form-control::placeholder {
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
/* ========================================
|
|
Loading Indicator - Responsive
|
|
======================================== */
|
|
.loading-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
padding: 1.5rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-family: 'Rajdhani', sans-serif;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.loading-indicator {
|
|
padding: 2rem;
|
|
}
|
|
}
|
|
|
|
.spinner {
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 2px solid var(--border-default);
|
|
border-top-color: var(--color-primary);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.spinner {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Customer List - Responsive
|
|
======================================== */
|
|
.customer-list {
|
|
max-height: 250px;
|
|
overflow-y: auto;
|
|
margin-bottom: 0.75rem;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.customer-list {
|
|
max-height: 300px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.customer-list {
|
|
max-height: 350px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.customer-list {
|
|
max-height: 400px;
|
|
}
|
|
}
|
|
|
|
.customer-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 12px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 10px;
|
|
margin-bottom: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
gap: 10px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.customer-item {
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
margin-bottom: 8px;
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
.customer-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.customer-item.selected {
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border-color: rgba(220, 38, 38, 0.4);
|
|
}
|
|
|
|
.customer-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.customer-name {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
font-size: 0.95rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.customer-name {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
.customer-company {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 0.8rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.customer-company {
|
|
font-size: 0.85rem;
|
|
}
|
|
}
|
|
|
|
.customer-details {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-size: 0.75rem;
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.customer-details {
|
|
font-size: 0.8rem;
|
|
gap: 10px;
|
|
}
|
|
}
|
|
|
|
.vehicle-make {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.vehicle-make {
|
|
padding: 2px 8px;
|
|
}
|
|
}
|
|
|
|
.customer-badge {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.75rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.customer-badge {
|
|
padding: 4px 10px;
|
|
border-radius: 8px;
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
No Results - Responsive
|
|
======================================== */
|
|
.no-results {
|
|
text-align: center;
|
|
padding: 1.5rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-family: 'Rajdhani', sans-serif;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.no-results {
|
|
padding: 2rem;
|
|
}
|
|
}
|
|
|
|
.no-results p {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.no-results p {
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
New Customer Form - Responsive
|
|
======================================== */
|
|
.new-customer-form,
|
|
.new-category-form {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 14px;
|
|
padding: 1rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.new-customer-form,
|
|
.new-category-form {
|
|
border-radius: 16px;
|
|
padding: 1.25rem;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
.new-customer-form h3,
|
|
.new-category-form h3 {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
margin: 0 0 0.75rem 0;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.new-customer-form h3,
|
|
.new-category-form h3 {
|
|
font-size: 1.1rem;
|
|
margin: 0 0 1rem 0;
|
|
}
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.form-row {
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.form-group {
|
|
gap: 6px;
|
|
}
|
|
}
|
|
|
|
.form-group label {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.8rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-weight: 500;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.form-group label {
|
|
font-size: 0.85rem;
|
|
}
|
|
}
|
|
|
|
/* Form controls: inherited from app.css (section 4) — page-specific overrides */
|
|
.form-control {
|
|
font-size: 16px; /* Prevents iOS zoom */
|
|
}
|
|
|
|
textarea.form-control {
|
|
resize: vertical;
|
|
min-height: 60px;
|
|
}
|
|
|
|
select.form-control {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.form-actions {
|
|
flex-direction: row;
|
|
gap: 10px;
|
|
justify-content: flex-end;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 479.98px) {
|
|
.form-actions .btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Tire Form - Responsive
|
|
======================================== */
|
|
.tire-form {
|
|
margin-top: 1.25rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.tire-form {
|
|
margin-top: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.tire-form .form-group {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.tire-form .form-group {
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
.tire-form .form-group > label {
|
|
margin-bottom: 6px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.tire-form .form-group > label {
|
|
margin-bottom: 8px;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
/* Buttons: inherited from app.css (section 5) */
|
|
.btn-link {
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-primary);
|
|
cursor: pointer;
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
padding: var(--space-1) var(--space-2);
|
|
min-height: auto;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.btn-link {
|
|
font-size: var(--text-base);
|
|
}
|
|
}
|
|
|
|
.btn-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* ========================================
|
|
Step Actions - Responsive
|
|
======================================== */
|
|
.step-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin-top: 1.25rem;
|
|
padding-top: 1.25rem;
|
|
border-top: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.step-actions {
|
|
flex-direction: row;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
margin-top: 1.5rem;
|
|
padding-top: 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 479.98px) {
|
|
.step-actions .btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Selected Customer/Info Bar - Responsive
|
|
======================================== */
|
|
.selected-customer-bar,
|
|
.selected-info-bar {
|
|
background: rgba(220, 38, 38, 0.1);
|
|
border: 0.5px solid rgba(220, 38, 38, 0.25);
|
|
border-radius: 8px;
|
|
padding: 10px 12px;
|
|
margin-bottom: 1.25rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.selected-customer-bar,
|
|
.selected-info-bar {
|
|
border-radius: 10px;
|
|
padding: 10px 14px;
|
|
margin-bottom: 1.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.selected-info-bar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
/* ========================================
|
|
Season Selector - Responsive
|
|
======================================== */
|
|
.season-selector {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.season-selector {
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
.season-btn {
|
|
flex: 1;
|
|
padding: 10px 8px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", 'Rajdhani', sans-serif;
|
|
font-size: 0.8rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
line-height: 1.4;
|
|
min-height: 44px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.season-btn {
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.season-btn:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.season-btn.active.summer {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
border-color: rgba(251, 191, 36, 0.4);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.season-btn.active.winter {
|
|
background: rgba(96, 165, 250, 0.15);
|
|
border-color: rgba(96, 165, 250, 0.4);
|
|
color: #60a5fa;
|
|
}
|
|
|
|
.season-btn.active.allseason {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
border-color: rgba(34, 197, 94, 0.4);
|
|
color: #22c55e;
|
|
}
|
|
|
|
/* ========================================
|
|
Toggle Group - Responsive
|
|
======================================== */
|
|
.toggle-group {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.toggle-group {
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
.toggle-btn {
|
|
flex: 1;
|
|
padding: 8px 12px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 6px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
min-height: 40px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.toggle-btn {
|
|
padding: 10px 16px;
|
|
border-radius: 8px;
|
|
font-size: 0.9rem;
|
|
min-height: 44px;
|
|
}
|
|
}
|
|
|
|
.toggle-btn.active {
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border-color: rgba(220, 38, 38, 0.4);
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* ========================================
|
|
Category List - Responsive
|
|
======================================== */
|
|
.category-list {
|
|
max-height: 250px;
|
|
overflow-y: auto;
|
|
margin-bottom: 0.75rem;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.category-list {
|
|
max-height: 300px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
.category-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 14px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 10px;
|
|
margin-bottom: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.category-item {
|
|
gap: 12px;
|
|
padding: 14px 16px;
|
|
border-radius: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
}
|
|
|
|
.category-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.category-item.selected {
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border-color: rgba(220, 38, 38, 0.4);
|
|
}
|
|
|
|
.category-icon {
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
|
|
font-size: 1.25rem;
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 8px;
|
|
line-height: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.category-icon {
|
|
font-size: 1.5rem;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
|
|
.category-info {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.category-name {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
font-size: 0.95rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.category-name {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
.category-details {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.category-details {
|
|
font-size: 0.85rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Stack Info Banner - Responsive
|
|
======================================== */
|
|
.stack-info-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
background: rgba(96, 165, 250, 0.1);
|
|
border: 0.5px solid rgba(96, 165, 250, 0.25);
|
|
border-radius: 10px;
|
|
padding: 10px 16px;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.stack-info-banner {
|
|
gap: 10px;
|
|
border-radius: 12px;
|
|
padding: 12px 18px;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.stack-icon {
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
|
|
font-size: 1.25rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.stack-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.stack-text {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.stack-text {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Details Accordion - Responsive
|
|
======================================== */
|
|
.details-accordion {
|
|
margin-top: 1.25rem;
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.details-accordion {
|
|
margin-top: 1.5rem;
|
|
border-radius: 12px;
|
|
}
|
|
}
|
|
|
|
.accordion-header {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 14px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
min-height: 48px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.accordion-header {
|
|
padding: 14px 16px;
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|
|
|
|
.accordion-header:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.accordion-icon {
|
|
font-size: 1.2rem;
|
|
font-weight: 300;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.accordion-content {
|
|
padding: 14px;
|
|
background: rgba(0, 0, 0, 0.15);
|
|
border-top: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.accordion-content {
|
|
padding: 16px;
|
|
}
|
|
}
|
|
|
|
.accordion-content .form-row:last-child,
|
|
.accordion-content .form-group:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* ========================================
|
|
Area Filter - Responsive
|
|
======================================== */
|
|
.area-filter {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.area-filter {
|
|
gap: 8px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
.filter-btn {
|
|
padding: 10px 12px;
|
|
background: rgba(28, 28, 30, 0.8);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", 'Rajdhani', sans-serif;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
min-height: 44px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.filter-btn {
|
|
padding: 10px 14px;
|
|
border-radius: 10px;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.filter-btn:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.filter-btn.active {
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border-color: rgba(220, 38, 38, 0.4);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.filter-btn.active.lager {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
border-color: rgba(251, 191, 36, 0.4);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.filter-btn.active.werkstatt {
|
|
background: rgba(96, 165, 250, 0.15);
|
|
border-color: rgba(96, 165, 250, 0.4);
|
|
color: #60a5fa;
|
|
}
|
|
|
|
/* ========================================
|
|
Row Filter - Responsive
|
|
======================================== */
|
|
.row-filter {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.row-filter {
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Area Section - Responsive
|
|
======================================== */
|
|
.area-section {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.area-section {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.area-title {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
margin: 0 0 0.5rem 0;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.area-title {
|
|
font-size: 1.1rem;
|
|
margin: 0 0 0.75rem 0;
|
|
}
|
|
}
|
|
|
|
.row-section {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.row-section {
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
.row-label {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.8rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.row-label {
|
|
font-size: 0.85rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Location Grid - Responsive
|
|
======================================== */
|
|
.location-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 6px;
|
|
}
|
|
|
|
@media (min-width: 400px) {
|
|
.location-grid {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.location-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.location-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
.location-tile {
|
|
aspect-ratio: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
min-height: 60px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.location-tile {
|
|
gap: 4px;
|
|
border-radius: 10px;
|
|
min-height: 70px;
|
|
}
|
|
}
|
|
|
|
.location-tile:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.location-tile.selected {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
border-color: rgba(34, 197, 94, 0.4);
|
|
}
|
|
|
|
.location-tile.occupied {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.tile-code {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.tile-code {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.tile-slot {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.65rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.tile-slot {
|
|
font-size: 0.7rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Selected Location - Responsive
|
|
======================================== */
|
|
.selected-location {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: rgba(34, 197, 94, 0.1);
|
|
border: 0.5px solid rgba(34, 197, 94, 0.3);
|
|
border-radius: 10px;
|
|
padding: 10px 14px;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.selected-location {
|
|
gap: 12px;
|
|
border-radius: 12px;
|
|
padding: 12px 16px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
.location-icon {
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
|
|
font-size: 1.25rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.location-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.location-info {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.location-code {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.location-code {
|
|
font-size: 1.1rem;
|
|
}
|
|
}
|
|
|
|
.location-path {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.location-path {
|
|
font-size: 0.85rem;
|
|
}
|
|
}
|
|
|
|
.btn-clear {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: none;
|
|
border-radius: 50%;
|
|
width: 28px;
|
|
height: 28px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
flex-shrink: 0;
|
|
min-width: 28px;
|
|
}
|
|
|
|
.btn-clear:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: #fff;
|
|
}
|
|
|
|
/* Alerts: inherited from app.css (section 7) */
|
|
.alert {
|
|
margin-bottom: var(--space-3);
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.alert {
|
|
margin-bottom: var(--space-4);
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Success Card - Responsive
|
|
======================================== */
|
|
.success-card {
|
|
text-align: center;
|
|
}
|
|
|
|
.success-icon {
|
|
width: 70px;
|
|
height: 70px;
|
|
border-radius: 50%;
|
|
background: rgba(34, 197, 94, 0.15);
|
|
border: 2px solid rgba(34, 197, 94, 0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto 1.25rem;
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
|
|
font-size: 1.75rem;
|
|
color: #22c55e;
|
|
line-height: 1;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.success-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin: 0 auto 1.5rem;
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Ticket Preview - Responsive
|
|
======================================== */
|
|
.ticket-preview {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 14px;
|
|
overflow: hidden;
|
|
margin-bottom: 1.25rem;
|
|
text-align: left;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.ticket-preview {
|
|
border-radius: 16px;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.ticket-header {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 10px 14px;
|
|
border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.ticket-header {
|
|
padding: 12px 16px;
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
.ticket-number {
|
|
font-family: 'Orbitron', monospace;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #ef4444;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.ticket-number {
|
|
font-size: 1.2rem;
|
|
}
|
|
}
|
|
|
|
.ticket-header .inventory-badge {
|
|
padding: 4px 8px;
|
|
background: rgba(96, 165, 250, 0.15);
|
|
border: 1px solid rgba(96, 165, 250, 0.3);
|
|
border-radius: 6px;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.7rem;
|
|
color: #93c5fd;
|
|
font-weight: 600;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.ticket-header .inventory-badge {
|
|
padding: 4px 10px;
|
|
font-size: 0.75rem;
|
|
}
|
|
}
|
|
|
|
.ticket-details {
|
|
padding: 14px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.ticket-details {
|
|
padding: 16px;
|
|
}
|
|
}
|
|
|
|
.detail-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 6px 0;
|
|
border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
|
|
font-family: 'Rajdhani', sans-serif;
|
|
gap: 10px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.detail-row {
|
|
padding: 8px 0;
|
|
}
|
|
}
|
|
|
|
.detail-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.detail-row .label {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 0.85rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.detail-row .label {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.detail-row .value {
|
|
color: #ffffff;
|
|
font-weight: 500;
|
|
text-align: right;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.detail-row .value.qr-codes {
|
|
font-family: 'Orbitron', monospace;
|
|
font-size: 0.75rem;
|
|
color: #86efac;
|
|
word-break: break-all;
|
|
max-width: 60%;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.detail-row .value.qr-codes {
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
|
|
/* Reduced motion: inherited from app.css (section 17) */
|
|
|
|
/* ========================================
|
|
Vehicle Selection Section
|
|
======================================== */
|
|
.vehicle-selection-section {
|
|
margin-top: 1.25rem;
|
|
padding-top: 1rem;
|
|
border-top: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.vehicle-selection-section h3 {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
margin: 0 0 0.75rem 0;
|
|
}
|
|
|
|
.no-vehicles-info {
|
|
padding: 1rem;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.no-vehicles-info p {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
margin: 0;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.vehicle-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.vehicle-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
min-height: 48px;
|
|
}
|
|
|
|
.vehicle-item:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.vehicle-item.selected {
|
|
background: rgba(220, 38, 38, 0.1);
|
|
border-color: rgba(220, 38, 38, 0.4);
|
|
}
|
|
|
|
.vehicle-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.vehicle-name {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.vehicle-meta {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.8rem;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.primary-badge {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
background: rgba(96, 165, 250, 0.15);
|
|
border: 1px solid rgba(96, 165, 250, 0.3);
|
|
color: #93c5fd;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.vehicle-badge {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.8rem;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
margin-left: 8px;
|
|
}
|
|
|
|
/* New Vehicle Form */
|
|
.new-vehicle-form {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.new-vehicle-form h4 {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
margin: 0 0 0.75rem 0;
|
|
}
|
|
|
|
.form-section-title {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
margin: 1rem 0 0.5rem 0;
|
|
padding-top: 0.75rem;
|
|
border-top: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.mt-3 {
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 8px 14px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.btn-sm.mt-3 {
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.btn-sm.mt-3 {
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Category Type Toggle (Reifen/Felgen)
|
|
======================================== */
|
|
.category-type-toggle {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.category-type-toggle {
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
.type-btn {
|
|
flex: 1;
|
|
padding: 10px 8px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", 'Rajdhani', sans-serif;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
line-height: 1.4;
|
|
min-height: 44px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.type-btn {
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.type-btn:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.type-btn.active.reifen {
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border-color: rgba(220, 38, 38, 0.4);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.type-btn.active.felgen {
|
|
background: rgba(168, 85, 247, 0.15);
|
|
border-color: rgba(168, 85, 247, 0.4);
|
|
color: #c084fc;
|
|
}
|
|
|
|
/* ========================================
|
|
Category Type Badge
|
|
======================================== */
|
|
.category-type-badge {
|
|
display: inline-block;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.65rem;
|
|
font-weight: 600;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
width: fit-content;
|
|
}
|
|
|
|
.category-type-badge.reifen {
|
|
background: rgba(220, 38, 38, 0.12);
|
|
color: rgba(239, 68, 68, 0.8);
|
|
border: 0.5px solid rgba(220, 38, 38, 0.25);
|
|
}
|
|
|
|
.category-type-badge.felgen {
|
|
background: rgba(168, 85, 247, 0.12);
|
|
color: rgba(192, 132, 252, 0.9);
|
|
border: 0.5px solid rgba(168, 85, 247, 0.25);
|
|
}
|
|
|
|
/* ========================================
|
|
Category Thumbnail
|
|
======================================== */
|
|
.category-thumbnail {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
cursor: zoom-in;
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.category-thumbnail {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
|
|
.category-thumbnail:hover {
|
|
border-color: rgba(168, 85, 247, 0.5);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.category-thumbnail img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* ========================================
|
|
File Upload Area
|
|
======================================== */
|
|
.file-upload-area {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.upload-label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 20px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 1.5px dashed rgba(255, 255, 255, 0.15);
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
min-height: 80px;
|
|
}
|
|
|
|
.upload-label:hover {
|
|
background: rgba(168, 85, 247, 0.05);
|
|
border-color: rgba(168, 85, 247, 0.3);
|
|
}
|
|
|
|
.upload-label input[type="file"],
|
|
.upload-label ::deep input[type="file"] {
|
|
display: none;
|
|
}
|
|
|
|
.upload-icon {
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
|
|
font-size: 1.5rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.upload-text {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.8rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
text-align: center;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.upload-text {
|
|
font-size: 0.85rem;
|
|
}
|
|
}
|
|
|
|
.image-preview {
|
|
position: relative;
|
|
display: inline-block;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
border: 0.5px solid rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.image-preview img {
|
|
display: block;
|
|
max-width: 100%;
|
|
max-height: 200px;
|
|
object-fit: contain;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.image-remove {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
width: 24px;
|
|
height: 24px;
|
|
min-width: 24px;
|
|
font-size: 0.75rem;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.image-remove:hover {
|
|
background: rgba(239, 68, 68, 0.8);
|
|
}
|
|
|
|
/* ========================================
|
|
Item Count Controls
|
|
======================================== */
|
|
.item-count-input {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
padding: 12px 14px;
|
|
margin-bottom: 1.25rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.item-count-input {
|
|
padding: 14px 16px;
|
|
border-radius: 12px;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.item-count-input label {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.85rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-weight: 500;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.item-count-input label {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.count-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.count-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.15);
|
|
color: #ffffff;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 36px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.count-btn {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
font-size: 1.2rem;
|
|
min-height: 40px;
|
|
}
|
|
}
|
|
|
|
.count-btn:hover:not(:disabled) {
|
|
background: rgba(220, 38, 38, 0.15);
|
|
border-color: rgba(220, 38, 38, 0.4);
|
|
}
|
|
|
|
.count-btn:disabled {
|
|
opacity: 0.3;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.count-field {
|
|
width: 60px;
|
|
text-align: center;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
padding: 6px;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.count-field {
|
|
width: 70px;
|
|
font-size: 1.2rem;
|
|
}
|
|
}
|
|
|
|
.stack-count-toggle {
|
|
font-size: 0.75rem !important;
|
|
padding: 2px 6px !important;
|
|
min-height: auto !important;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.stack-count-toggle {
|
|
font-size: 0.8rem !important;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
Image Zoom Overlay
|
|
======================================== */
|
|
.image-zoom-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.85);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
z-index: 10000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 1rem;
|
|
animation: fadeIn 0.2s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.image-zoom-container {
|
|
background: rgba(28, 28, 30, 0.95);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
max-width: 90vw;
|
|
max-height: 90vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
animation: zoomIn 0.25s ease;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.image-zoom-container {
|
|
border-radius: 20px;
|
|
max-width: 80vw;
|
|
max-height: 85vh;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.image-zoom-container {
|
|
max-width: 700px;
|
|
}
|
|
}
|
|
|
|
@keyframes zoomIn {
|
|
from { transform: scale(0.9); opacity: 0; }
|
|
to { transform: scale(1); opacity: 1; }
|
|
}
|
|
|
|
.zoom-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 16px;
|
|
border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.zoom-title {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
color: #ffffff;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.zoom-title {
|
|
font-size: 1.1rem;
|
|
}
|
|
}
|
|
|
|
.zoom-close {
|
|
width: 32px;
|
|
height: 32px;
|
|
min-width: 32px;
|
|
font-size: 0.9rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.zoom-image-wrapper {
|
|
padding: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.zoom-image-wrapper {
|
|
padding: 20px;
|
|
}
|
|
}
|
|
|
|
.zoom-image {
|
|
max-width: 100%;
|
|
max-height: 70vh;
|
|
object-fit: contain;
|
|
border-radius: 8px;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.zoom-image {
|
|
max-height: 75vh;
|
|
}
|
|
}
|