/* ================================================
   New Graduate Application Form Styles
   ================================================ */

/* Form Header */
.form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    margin-top: 76px;
}

.form-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-header .lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Application Form Card */
.application-form-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 40px;
}

/* Form Section */
.form-section {
    margin-bottom: 40px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

/* Required Badge */
.required-badge {
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 5px;
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.form-control.is-invalid {
    border-color: #e74c3c;
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #e74c3c;
    margin-top: 5px;
}

/* Time Slots Container */
.time-slots-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    min-height: 200px;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

/* Time Slot Grid */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

/* Time Slot Card */
.time-slot-card {
    background: white;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.time-slot-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.time-slot-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.time-slot-card.selected::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    color: #667eea;
    font-size: 1.5rem;
}

.time-slot-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.time-slot-date i {
    margin-right: 8px;
    color: #667eea;
}

.time-slot-time {
    font-size: 1rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
}

.time-slot-time i {
    margin-right: 8px;
    color: #95a5a6;
}

.time-slot-title {
    font-size: 0.875rem;
    color: #95a5a6;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e6ed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.empty-state h4 {
    color: #7f8c8d;
    margin-bottom: 10px;
}

.empty-state p {
    color: #95a5a6;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 40px 20px;
}

.error-state i {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-state h4 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.error-state p {
    color: #c0392b;
}

.retry-btn {
    margin-top: 20px;
    padding: 10px 30px;
    border-radius: 8px;
}

/* OAuth Not Configured State */
.oauth-not-configured {
    text-align: center;
    padding: 40px 20px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
}

.oauth-not-configured i {
    font-size: 4rem;
    color: #856404;
    margin-bottom: 20px;
}

.oauth-not-configured h4 {
    color: #856404;
    margin-bottom: 15px;
}

.oauth-not-configured p {
    color: #856404;
    margin-bottom: 20px;
}

.btn-oauth-setup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-oauth-setup:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Submit Button */
.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline-secondary {
    border: 2px solid #95a5a6;
    color: #7f8c8d;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #95a5a6;
    color: white;
    border-color: #95a5a6;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-header {
        padding: 60px 0 40px;
        margin-top: 56px;
    }
    
    .form-header h1 {
        font-size: 1.8rem;
    }
    
    .application-form-card {
        padding: 25px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .time-slots-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .form-header h1 {
        font-size: 1.5rem;
    }
    
    .application-form-card {
        padding: 20px;
    }
    
    .btn-lg {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .btn-outline-secondary {
        width: 100%;
        margin-top: 10px;
    }
}

