/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #0f172a;
    --card: #1e293b;
    --primary: #3b82f6;
    --primary-foreground: #f8fafc;
    --muted: #475569;
    --border: #334155;
    --foreground: #f1f5f9;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #8b5cf6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
    width: 50px;
    height: 50px;
}

.nav-logo:hover {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
    cursor: pointer;
}

.nav-logo:hover i {
    animation: wrenchSpin 0.5s ease-in-out;
}

@keyframes wrenchSpin {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

.nav-logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-phone-number {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    font-family: 'Courier New', monospace;
}

.nav-phone-number:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    color: white;
}

.nav-phone-number i {
    font-size: 0.9rem;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--foreground);
    transition: 0.3s;
}


/* Services Section */
.services {
    padding: 6rem 0 5rem 0;
    background: rgba(30, 41, 59, 0.5);
    margin-top: 70px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.service-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.service-icon.yellow { background: linear-gradient(135deg, #f59e0b, #d97706); }
.service-icon.cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.service-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.service-icon.red { background: linear-gradient(135deg, #ef4444, #dc2626); }

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.service-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact {
    padding: 5rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.repair-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-step {
    margin-bottom: 3rem;
}

.form-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #334155;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--foreground);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input:disabled,
.form-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.device-preview {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.device-preview i {
    color: var(--primary);
    font-size: 1.25rem;
}

.device-preview span {
    color: var(--foreground);
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Waiver Styles */
.waiver-container {
    margin-top: 1rem;
}

.waiver-header {
    background: var(--card);
    color: var(--foreground);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    border: 2px solid var(--border);
    border-radius: 12px;
}

.waiver-header:hover {
    background: var(--background);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.waiver-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.waiver-header i {
    font-size: 1.2rem;
    color: var(--primary);
}

.waiver-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
}

.waiver-toggle-icon {
    font-size: 1rem;
    color: var(--muted);
    transition: transform 0.3s ease;
}

.waiver-toggle-icon.rotated {
    transform: rotate(180deg);
}

.waiver-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--card);
    border: 2px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    margin-top: -2px;
}

.waiver-content.expanded {
    max-height: 600px;
}

.waiver-accordion {
    padding: 1.5rem;
}

.waiver-accordion-item {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.waiver-accordion-item:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.waiver-accordion-item.highlight {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.waiver-accordion-item.highlight:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

.waiver-accordion-header {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.waiver-accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.waiver-accordion-header h5 {
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.waiver-accordion-item.highlight .waiver-accordion-header h5 {
    color: var(--warning);
}

.accordion-icon {
    font-size: 0.9rem;
    color: var(--muted);
    transition: transform 0.3s ease;
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

.waiver-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.waiver-accordion-content.expanded {
    max-height: 200px;
}

.waiver-accordion-content p {
    padding: 0 1.25rem 1.25rem 1.25rem;
    color: var(--foreground);
    line-height: 1.6;
    margin: 0;
}

.waiver-accordion-content strong {
    color: var(--primary);
    font-weight: 600;
}

.waiver-accordion-item.highlight .waiver-accordion-content strong {
    color: var(--warning);
}

.waiver-agreement {
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.05);
    border-top: 1px solid var(--border);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    position: relative;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 24px;
    width: 24px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-container:hover .checkmark {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.agreement-text {
    color: var(--foreground);
    line-height: 1.5;
    font-size: 0.95rem;
}

.signature-section {
    margin-top: 1rem;
}

.signature-section label {
    display: block;
    color: var(--foreground);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.signature-section input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.signature-section input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.signature-section small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Form validation states */
.form-step:has(.waiver-container) .waiver-agreement input:invalid {
    border-color: var(--error);
}

.form-step:has(.waiver-container) .waiver-agreement input:valid {
    border-color: var(--success);
}

/* Responsive waiver */
@media (max-width: 768px) {
    .waiver-header {
        padding: 0.875rem 1rem;
    }
    
    .waiver-header h4 {
        font-size: 1rem;
    }
    
    .waiver-header i {
        font-size: 1.1rem;
    }
    
    .waiver-content.expanded {
        max-height: 500px;
    }
    
    .waiver-accordion {
        padding: 1rem;
    }
    
    .waiver-accordion-item {
        margin-bottom: 0.75rem;
    }
    
    .waiver-accordion-header {
        padding: 1rem;
    }
    
    .waiver-accordion-header h5 {
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .waiver-accordion-content p {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .waiver-agreement {
        padding: 1rem;
    }
    
    .checkbox-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .checkmark {
        align-self: flex-start;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    margin: 5% auto;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.modal-content p {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.request-details {
    background: #334155;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.request-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    font-size: 0.9rem;
}

.details-grid .label {
    color: var(--muted);
}

.details-grid .value {
    color: var(--foreground);
    font-weight: 500;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step {
    text-align: center;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.step:nth-child(1) .step-icon { background: rgba(59, 130, 246, 0.2); }
.step:nth-child(2) .step-icon { background: rgba(245, 158, 11, 0.2); }
.step:nth-child(3) .step-icon { background: rgba(16, 185, 129, 0.2); }

.step-icon i {
    font-size: 1.5rem;
}

.step:nth-child(1) .step-icon i { color: #60a5fa; }
.step:nth-child(2) .step-icon i { color: #fbbf24; }
.step:nth-child(3) .step-icon i { color: #34d399; }

.step h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.step p {
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-info {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.close-btn {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* Footer */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--primary);
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--foreground);
}

.footer p {
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.copyright {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Tech Portal Styles */
.tech-portal {
    background: var(--background);
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 20px 20px;
    box-sizing: border-box;
}

.login-container {
    max-width: 400px;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

.login-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.login-header {
    margin-bottom: 2rem;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #2563eb);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.login-icon i {
    font-size: 2rem;
    color: white;
}

.login-card h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.login-card p {
    color: var(--muted);
}

.login-content p {
    color: var(--muted);
    margin-bottom: 2rem;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    touch-action: manipulation; /* Improve touch response */
    min-height: 48px; /* Minimum touch target size */
    position: relative;
    z-index: 10; /* Ensure button is clickable */
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.demo-btn {
    width: 100%;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    margin-top: 1rem;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.demo-credentials {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    color: var(--foreground);
}

.demo-credentials small {
    font-size: 0.85rem;
    line-height: 1.4;
}

.login-note {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 1.5rem;
}

/* Authentication Forms */
.auth-form {
    width: 100%;
}

.auth-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--foreground);
    text-align: center;
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form .form-group label {
    display: block;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-form .form-group input,
.auth-form .form-group select,
.auth-form .form-group textarea {
    width: 100%;
    background: #334155;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--foreground);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    -webkit-appearance: none; /* Remove iOS styling */
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.auth-form .form-group input:focus,
.auth-form .form-group select:focus,
.auth-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.register-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.registration-note {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--foreground);
    font-size: 0.9rem;
}

.registration-note i {
    color: var(--primary);
    margin-top: 0.125rem;
}

.pending-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pending-icon i {
    font-size: 2.5rem;
    color: #fbbf24;
}

.back-btn {
    width: 100%;
    background: #334155;
    color: var(--foreground);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.back-btn:hover {
    background: #475569;
    transform: translateY(-1px);
}

.dashboard-section {
    padding: 2rem 0;
    min-height: calc(100vh - 70px);
    margin-top: 70px; /* Add top margin to account for fixed header */
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.dashboard-header p {
    color: var(--muted);
    font-size: 1.1rem;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.tabs {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #334155;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--primary);
    background: var(--card);
    border-bottom-color: var(--primary);
}

.tab-btn:hover:not(.active) {
    color: var(--foreground);
    background: rgba(59, 130, 246, 0.1);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

.requests-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.request-card {
    background: #334155;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.request-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.customer-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.request-id {
    font-size: 1.1rem;
    color: white;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge:contains("PENDING") { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.status-badge:contains("SCHEDULED") { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-badge:contains("EN_ROUTE") { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.status-badge:contains("ARRIVED") { background: rgba(139, 92, 246, 0.2); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.3); }
.status-badge:contains("COMPLETED") { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-badge:contains("CANCELED") { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: white;
}

.detail-item i {
    color: var(--primary);
    width: 16px;
}

.issue-description {
    margin-bottom: 1rem;
}

.issue-description .label {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.25rem;
}

.issue-description .description {
    font-size: 1rem;
    color: white;
}

.request-actions {
    display: flex;
    gap: 0.75rem;
}

.job-details-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.job-details-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    min-height: 400px;
}

.no-selection {
    text-align: center;
    padding: 2rem;
}

.no-selection-icon {
    width: 80px;
    height: 80px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.no-selection-icon i {
    font-size: 2rem;
    color: var(--muted);
}

.no-selection h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.no-selection p {
    color: var(--muted);
}

.job-details-content {
    display: none;
}

.job-details-content.active {
    display: block;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.job-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
}

.job-id {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.job-section {
    margin-bottom: 2rem;
}

.job-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.customer-info,
.device-info,
.timing-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.info-item i {
    color: var(--muted);
    width: 16px;
    margin-top: 0.125rem;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.info-item .label {
    color: var(--muted);
    min-width: 80px;
}

.device-year {
    color: var(--muted);
    font-size: 0.8rem;
}

.scheduling-interface {
    background: #334155;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.scheduling-interface h4 {
    margin-bottom: 1rem;
    color: var(--foreground);
}

.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-buttons {
    display: flex;
    gap: 0.75rem;
}

.status-buttons {
    margin-bottom: 1.5rem;
}

.quote-section,
.notes-section {
    margin-bottom: 1.5rem;
}

.quote-section label,
.notes-section label {
    display: block;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.quote-input {
    display: flex;
    gap: 0.75rem;
}

.quote-input input {
    flex: 1;
    background: #334155;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--foreground);
}

.notes-section textarea {
    width: 100%;
    background: #334155;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    color: var(--foreground);
    resize: vertical;
    min-height: 80px;
    margin-bottom: 0.75rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-success,
.btn-warning,
.btn-info {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #334155;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #475569;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-1px);
}

.btn-info {
    background: var(--info);
    color: white;
}

.btn-info:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-title {
        font-size: 0.85rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .nav-logo {
        width: 32px;
        height: 32px;
    }
    
    .nav-logo i {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        display: flex;
        margin-left: 5px;
    }
    
    .nav-phone-number {
        padding: 6px 8px;
        font-size: 0.7rem;
        min-width: auto;
        width: auto;
        white-space: nowrap;
    }
    
    .nav-phone-number i {
        font-size: 0.65rem;
    }
    
    .hamburger {
        display: none;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-step h3 {
        font-size: 1.2rem;
    }
    
    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    
    .job-details-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .request-actions {
        flex-direction: column;
    }
    
    .schedule-buttons {
        flex-direction: column;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-title {
        font-size: 0.75rem;
        max-width: 100px;
    }
    
    .nav-phone-number {
        padding: 5px 6px;
        font-size: 0.65rem;
    }
    
    .nav-phone-number i {
        font-size: 0.55rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .repair-form {
        padding: 2rem 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 2rem 1.5rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .login-section {
        padding: 70px 15px 15px 15px;
        min-height: calc(100vh - 70px);
    }
    
    .login-container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .auth-form .form-group input,
    .auth-form .form-group select,
    .auth-form .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px; /* Larger touch targets */
    }
    
    .login-btn,
    .register-btn {
        padding: 18px 24px; /* Larger touch targets */
        font-size: 1.1rem;
        min-height: 48px; /* Minimum touch target size */
    }
}
