/**
 * Transport Document Selection Modal Styles
 * Version: 1.0.0
 * Description: Styling for document selection modal in transport order system
 * Author: System Generated
 */

 
/* ========================================
   MODAL OVERLAY & CONTAINER
   ======================================== */

.doc-modal-overlay-cd78 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInOverlay 0.3s ease-in-out;
    overflow-y: auto;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.doc-modal-container-ef90 {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUpModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    position: relative;
}

@keyframes slideUpModal {
    from {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* ========================================
   MODAL HEADER
   ======================================== */

.doc-modal-header-gh12 {
    padding: 28px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.doc-modal-header-gh12::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.doc-modal-header-gh12 h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.doc-modal-header-gh12 h3::before {
    content: '\f0f6';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 22px;
}

.doc-modal-close-ij34 {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.doc-modal-close-ij34:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.doc-modal-close-ij34:active {
    transform: rotate(90deg) scale(0.95);
}

/* ========================================
   MODAL BODY
   ======================================== */

.doc-modal-body-mn78 {
    padding: 28px 32px;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

/* Custom Scrollbar */
.doc-modal-body-mn78::-webkit-scrollbar {
    width: 8px;
}

.doc-modal-body-mn78::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 10px;
}

.doc-modal-body-mn78::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.doc-modal-body-mn78::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5568d3 0%, #65408b 100%);
}

/* Loading State */
.doc-loading-qr12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #667eea;
    gap: 16px;
}

.doc-loading-qr12 i {
    font-size: 48px;
    animation: spinLoader 1s linear infinite;
}

@keyframes spinLoader {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.doc-loading-qr12 span {
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
}

/* ========================================
   DRIVER PROFILE SECTION
   ======================================== */

.driver-profile-section-vw12 {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.driver-profile-section-vw12::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.driver-profile-header-xy34 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.driver-profile-header-xy34 i {
    font-size: 26px;
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.driver-profile-header-xy34 h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    position: relative;
}

.driver-profile-form-za56 {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

.driver-field-row-bc78 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.driver-field-col-de90 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.driver-field-col-de90 label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.driver-field-col-de90 label i {
    color: #667eea;
    width: 16px;
    text-align: center;
}

.required-star-hi34 {
    color: #dc3545;
    margin-left: 2px;
}

.driver-input-jk56 {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ced4da;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #212529;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.driver-input-jk56:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    background: #ffffff;
    transform: translateY(-1px);
}

.driver-input-jk56:hover:not(:disabled):not(:focus) {
    border-color: #adb5bd;
}

.driver-input-jk56::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.driver-input-readonly-pq12 {
    background: #e9ecef !important;
    cursor: not-allowed;
    opacity: 0.8;
}

.driver-input-readonly-pq12:hover,
.driver-input-readonly-pq12:focus {
    border-color: #ced4da !important;
    box-shadow: none !important;
    transform: none !important;
}

.driver-hint-rs34 {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
    padding-left: 4px;
}

/* Driver Update Status */
.driver-update-status-vw78 {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInStatus 0.3s ease-out;
}

@keyframes slideInStatus {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.driver-update-status-vw78.status-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
}

.driver-update-status-vw78.status-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    color: #721c24;
}

.driver-update-status-vw78.status-loading {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 2px solid #17a2b8;
    color: #0c5460;
}

.driver-update-status-vw78 i {
    font-size: 16px;
}

/* ========================================
   DOCUMENT SELECTION SECTION
   ======================================== */

.document-selection-section-za12 {
    position: relative;
}

.document-selection-header-bc34 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.document-selection-header-bc34 i {
    font-size: 22px;
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.document-selection-header-bc34 h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
}

/* ========================================
   DOCUMENT SELECTION LIST
   ======================================== */

.doc-selection-list-cd90 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Document Item */
.doc-item-ef12 {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.doc-item-ef12:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
}

/* Radio Label Container */
.doc-radio-label-gh34 {
    display: flex;
    align-items: center;
    padding: 20px 22px;
    cursor: pointer;
    gap: 18px;
    position: relative;
    transition: all 0.3s ease;
}

.doc-radio-label-gh34 input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Custom Radio Button */
.doc-radio-label-gh34::before {
    content: '';
    width: 26px;
    height: 26px;
    border: 3px solid #ced4da;
    border-radius: 50%;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
}

.doc-radio-label-gh34::after {
    content: '';
    position: absolute;
    left: 27px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Selected State */
.doc-radio-label-gh34:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
}

.doc-radio-label-gh34:has(input[type="radio"]:checked)::before {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.15);
    transform: scale(1.1);
}

.doc-radio-label-gh34:has(input[type="radio"]:checked)::after {
    transform: scale(1);
}

.doc-radio-label-gh34:has(input[type="radio"]:checked) .doc-check-icon-qr34 {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ========================================
   DOCUMENT INFORMATION
   ======================================== */

.doc-info-ij56 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Document Type Badge */
.doc-type-badge-kl78 {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Document Type Colors */
.doc-type-hs {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
}

.doc-type-iv {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #ffffff;
}

.doc-type-ss {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #ffffff;
}

.doc-type-se {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #333333;
}

.doc-type-hm {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: #ffffff;
}

.doc-type-nn {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333333;
}

/* Document Number */
.doc-number-mn90 {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Document Amount (Small - Legacy) */
.doc-amount-op12 {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.doc-amount-op12::before {
    content: '\f155';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #28a745;
}

/* Document Amount (Large - Right Side) */
.doc-amount-large-xy90 {
    font-size: 28px;
    font-weight: 800;
    color: #16a34a;
    background: linear-gradient(135deg, #d4f5e4 0%, #e8f9f0 100%);
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid #86efac;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 140px;
    height: fit-content;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.5px;
    position: relative;
    margin-left: auto;
}

.doc-amount-large-xy90::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.doc-radio-label-gh34:has(input[type="radio"]:checked) .doc-amount-large-xy90 {
    color: #ffffff;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-color: #15803d;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
    transform: scale(1.05);
}

.doc-radio-label-gh34:hover .doc-amount-large-xy90 {
    border-color: #15803d;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.25);
}

/* Check Icon */
.doc-check-icon-qr34 {
    color: #667eea;
    font-size: 28px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    transform: scale(0) rotate(-180deg);
}

/* ========================================
   MODAL FOOTER
   ======================================== */

.doc-modal-footer-st34 {
    padding: 24px 32px;
    background: #ffffff;
    border-top: 2px solid #e9ecef;
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.doc-modal-footer-st34 button {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.doc-modal-footer-st34 button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.doc-modal-footer-st34 button:active::before {
    width: 300px;
    height: 300px;
}

/* Cancel Button */
.doc-modal-cancel-uv56 {
    background: #e9ecef;
    color: #495057;
    border: 2px solid #dee2e6;
}

.doc-modal-cancel-uv56:hover {
    background: #dee2e6;
    border-color: #ced4da;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.doc-modal-cancel-uv56:active {
    transform: translateY(0);
}

/* Confirm Button */
.doc-modal-confirm-yz90 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    border: 2px solid transparent;
}

.doc-modal-confirm-yz90:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.5);
}

.doc-modal-confirm-yz90:active:not(:disabled) {
    transform: translateY(0);
}

.doc-modal-confirm-yz90:disabled {
    background: linear-gradient(135deg, #adb5bd 0%, #6c757d 100%);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
}

.doc-modal-confirm-yz90:disabled::before {
    display: none;
}

/* ========================================
   EMPTY STATE
   ======================================== */

.doc-empty-state-ab56 {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.doc-empty-state-ab56 i {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 20px;
    display: block;
}

.doc-empty-state-ab56 h4 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #495057;
}

.doc-empty-state-ab56 p {
    margin: 0;
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
}

/* ========================================
   ALL TAKEN MESSAGE
   ======================================== */

.all-taken-message {
    text-align: center;
    padding: 20px;
}

.all-taken-message p {
    font-size: 16px;
    color: #495057;
    margin-bottom: 20px;
}

.taken-docs-list {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.taken-docs-list strong {
    display: block;
    margin-bottom: 12px;
    color: #212529;
    font-size: 15px;
    font-weight: 700;
}

.taken-docs-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.taken-docs-list ul li {
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 8px;
    color: #495057;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.taken-docs-list ul li:last-child {
    margin-bottom: 0;
}

.taken-docs-list ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #28a745;
    font-size: 14px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Closing Animation */
.doc-modal-overlay-cd78.closing {
    animation: fadeOutOverlay 0.3s ease-in-out forwards;
}

.doc-modal-overlay-cd78.closing .doc-modal-container-ef90 {
    animation: slideDownModal 0.3s ease-out forwards;
}

@keyframes fadeOutOverlay {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideDownModal {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.doc-radio-label-gh34:focus-within {
    outline: 3px solid #667eea;
    outline-offset: 2px;
    border-radius: 14px;
}

/* Focus visible for keyboard navigation */
.doc-modal-close-ij34:focus-visible,
.doc-modal-footer-st34 button:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 3px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .doc-modal-overlay-cd78 {
        padding: 15px;
    }

    .doc-modal-container-ef90 {
        max-height: 92vh;
        border-radius: 16px;
        max-width: 100%;
    }

    .doc-modal-header-gh12 {
        padding: 22px 24px;
    }

    .doc-modal-header-gh12 h3 {
        font-size: 20px;
    }

    .doc-modal-body-mn78 {
        padding: 22px 24px;
    }

    /* Driver Profile Responsive */
    .driver-profile-section-vw12 {
        padding: 20px;
        margin-bottom: 24px;
    }

    .driver-field-row-bc78 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .driver-profile-header-xy34 i {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .driver-profile-header-xy34 h4 {
        font-size: 18px;
    }

    .document-selection-header-bc34 i {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .document-selection-header-bc34 h4 {
        font-size: 16px;
    }

    .doc-modal-footer-st34 {
        padding: 20px 24px;
        flex-direction: column;
        gap: 12px;
    }

    .doc-radio-label-gh34 {
        padding: 16px 18px;
        gap: 14px;
    }

    .doc-radio-label-gh34::before {
        width: 24px;
        height: 24px;
    }

    .doc-radio-label-gh34::after {
        left: 25px;
        width: 10px;
        height: 10px;
    }

    .doc-info-ij56 {
        gap: 6px;
    }

    .doc-number-mn90 {
        font-size: 16px;
    }

    .doc-amount-op12 {
        font-size: 13px;
    }

    .doc-modal-footer-st34 button {
        width: 100%;
        min-width: unset;
        padding: 16px 28px;
        font-size: 15px;
    }

    .doc-check-icon-qr34 {
        font-size: 24px;
    }

    .doc-type-badge-kl78 {
        font-size: 10px;
        padding: 5px 12px;
    }

    /* Amount Large Responsive */
    .doc-amount-large-xy90 {
        font-size: 24px;
        padding: 14px 18px;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .doc-modal-container-ef90 {
        border-radius: 12px;
    }

    .doc-modal-header-gh12 {
        padding: 18px 20px;
    }

    .doc-modal-header-gh12 h3 {
        font-size: 18px;
        gap: 8px;
    }

    .doc-modal-close-ij34 {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .doc-modal-body-mn78 {
        padding: 18px 20px;
    }

    .doc-modal-footer-st34 {
        padding: 16px 20px;
    }

    .doc-selection-list-cd90 {
        gap: 12px;
    }

    .doc-item-ef12 {
        border-radius: 12px;
    }

    .doc-number-mn90 {
        font-size: 15px;
    }

    /* Driver Profile Mobile */
    .driver-profile-section-vw12 {
        padding: 16px;
        margin-bottom: 20px;
    }

    .driver-profile-header-xy34 {
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .driver-profile-header-xy34 i {
        width: 40px;
        height: 40px;
        font-size: 20px;
        padding: 10px;
    }

    .driver-profile-header-xy34 h4 {
        font-size: 16px;
    }

    .driver-field-row-bc78 {
        gap: 14px;
    }

    .driver-input-jk56 {
        padding: 12px 14px;
        font-size: 14px;
    }

    .driver-field-col-de90 label {
        font-size: 13px;
    }

    .document-selection-header-bc34 {
        gap: 10px;
        margin-bottom: 16px;
    }

    .document-selection-header-bc34 i {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .document-selection-header-bc34 h4 {
        font-size: 15px;
    }

    .driver-update-status-vw78 {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* Amount Large Mobile */
    .doc-amount-large-xy90 {
        font-size: 20px;
        padding: 12px 16px;
        min-width: 100px;
        border-radius: 10px;
    }

    .doc-radio-label-gh34 {
        flex-wrap: wrap;
    }

    .doc-amount-large-xy90 {
        margin-left: 0;
        width: 100%;
        margin-top: 12px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .doc-modal-overlay-cd78 {
        display: none !important;
    }
}

/* ========================================
   DARK MODE SUPPORT (Optional)
   ======================================== */

@media (prefers-color-scheme: dark) {
    .doc-modal-container-ef90 {
        background: #1e1e1e;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    }

    .doc-modal-body-mn78 {
        background: linear-gradient(to bottom, #2d2d2d 0%, #1e1e1e 100%);
    }

    .doc-item-ef12 {
        background: #2d2d2d;
        border-color: #3d3d3d;
    }

    .doc-item-ef12:hover {
        background: #353535;
    }

    .doc-number-mn90 {
        color: #e9ecef;
    }

    .doc-amount-op12 {
        color: #adb5bd;
    }

    .doc-modal-footer-st34 {
        background: #1e1e1e;
        border-top-color: #3d3d3d;
    }

    .doc-modal-cancel-uv56 {
        background: #3d3d3d;
        color: #e9ecef;
        border-color: #4d4d4d;
    }

    .doc-modal-cancel-uv56:hover {
        background: #4d4d4d;
        border-color: #5d5d5d;
    }

    .doc-modal-body-mn78::-webkit-scrollbar-track {
        background: #2d2d2d;
    }
}

/* ========================================
   HIGH CONTRAST MODE
   ======================================== */

@media (prefers-contrast: high) {
    .doc-item-ef12 {
        border-width: 3px;
    }

    .doc-radio-label-gh34::before {
        border-width: 4px;
    }

    .doc-modal-footer-st34 button {
        border-width: 3px;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .doc-modal-overlay-cd78,
    .doc-modal-container-ef90 {
        animation: none;
    }

    .doc-loading-qr12 i {
        animation: none;
    }
}
