/* --- SHARED STYLES (Layout & Sizing for BOTH modes) --- */
#osm-registration-form, .osm-registration-form, .view-signupplan .os-container {
    max-width: 100% !important;
    background: transparent !important; /* Let YOOtheme background show through */
}

/* Make everything BIG for truck drivers */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea {
    font-size: 18px !important;
    padding: 15px !important;
    border-radius: 4px !important;
    width: 100% !important;
    height: auto !important;
    box-shadow: none !important;
    margin-bottom: 15px !important;
}

/* Bold Labels */
.control-label, .osm-form-label, label {
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 8px !important;
}

/* The Big Blue Button (Always Blue) */
#btn-submit, .btn-primary {
    background-color: #1e87f0 !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: bold !important;
    padding: 15px 30px !important;
    width: 100% !important;
    border: none !important;
    margin-top: 20px !important;
}

/* --- LIGHT MODE (Day Shift) --- */
@media (prefers-color-scheme: light) {
    .control-label, .osm-form-label, label {
        color: #333333 !important; /* Dark Grey Text */
    }
    input[type="text"], input[type="email"], input[type="password"], select, textarea {
        background-color: #f8f8f8 !important; /* Light Grey Input */
        color: #000000 !important;           /* Black Text */
        border: 2px solid #cccccc !important;
    }
    input:focus, select:focus, textarea:focus {
        background-color: #ffffff !important;
        border-color: #1e87f0 !important;
    }
    .osm-section-heading, legend {
        color: #1e87f0 !important;
        border-bottom: 1px solid #ddd !important;
    }
}

/* --- DARK MODE (Night Shift) --- */
@media (prefers-color-scheme: dark) {
    .control-label, .osm-form-label, label {
        color: #ffffff !important; /* White Text */
    }
    input[type="text"], input[type="email"], input[type="password"], select, textarea {
        background-color: #222222 !important; /* Dark Grey Input */
        color: #ffffff !important;           /* White Text */
        border: 2px solid #555555 !important;
    }
    input:focus, select:focus, textarea:focus {
        background-color: #000000 !important;
        border-color: #1e87f0 !important;
    }
    .osm-section-heading, legend {
        color: #1e87f0 !important;
        border-bottom: 1px solid #444 !important;
    }
}