/* Driver Page Styles */

.driver-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.driver-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 500px;
}

.driver-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.driver-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.earnings-highlight {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.earning-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.earning-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #5B4C8B;
    margin-bottom: 0.5rem;
}

.earning-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Driver Benefits Section */
.driver-benefits {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.benefit-description {
    color: #666;
    line-height: 1.6;
}

/* Requirements Section */
.requirements {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.requirements-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.requirement-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5B4C8B;
    margin-bottom: 1.5rem;
}

.requirement-items {
    list-style: none;
    padding: 0;
}

.requirement-items li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #4a5568;
    position: relative;
    padding-left: 2rem;
}

.requirement-items li:last-child {
    border-bottom: none;
}

.requirement-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5B4C8B;
    font-weight: 600;
}

.requirements-image {
    position: sticky;
    top: 2rem;
}

.requirements-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Application Form Section */
.application-form-section {
    padding: 5rem 0;
    background-color: white;
}

.form-content {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.form-subtitle {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
}

.driver-application-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5B4C8B;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5B4C8B;
    box-shadow: 0 0 0 3px rgba(91, 76, 139, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #5B4C8B;
    background-color: #5B4C8B;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.checkbox-label a {
    color: #5B4C8B;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit-application {
    background: linear-gradient(135deg, #2b8659 0%, #2b8659 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    box-shadow: 0 4px 16px rgba(91, 76, 139, 0.3);
}

.btn-submit-application:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 76, 139, 0.4);
}

.btn-submit-application:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .driver-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .requirements-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .requirements-image {
        position: static;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .driver-hero {
        padding: 2rem 0;
    }
    
    .driver-title {
        font-size: 2.5rem;
    }
    
    .driver-subtitle {
        font-size: 1.125rem;
    }
    
    .earnings-highlight {
        gap: 1rem;
    }
    
    .earning-amount {
        font-size: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .driver-application-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .requirement-category {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .driver-hero {
        padding: 1.5rem 0;
    }
    
    .driver-title {
        font-size: 2rem;
    }
    
    .earnings-highlight {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .earning-item {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .earning-amount {
        font-size: 1.25rem;
    }
    
    .driver-application-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .form-content {
        padding: 0 0.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .btn-submit-application {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}