/* Auth Pages Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Auth Container */
.auth-container {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 100px;
}

.auth-wrapper {
    max-width: 1200px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Auth Visual Side */
.auth-visual {
    background: linear-gradient(135deg, #1c1e53 0%, #282938 100%);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(252, 217, 128, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.auth-visual::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(252, 217, 128, 0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
}

.auth-visual-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fcd980;
}

.auth-visual-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.visual-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
}

.stat-badge i {
    font-size: 1.5rem;
    color: #fcd980;
}

.stat-badge span {
    font-size: 1rem;
}

/* Auth Form Container */
.auth-form-container {
    padding: 60px 50px;
    overflow-y: auto;
    max-height: 800px;
}

.auth-form-header {
    margin-bottom: 30px;
}

.auth-form-header h1 {
    font-size: 2rem;
    color: #1c1e53;
    margin-bottom: 10px;
}

.auth-form-header p {
    color: #666;
    font-size: 1rem;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert i {
    margin-top: 2px;
}

.alert-danger {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert li {
    margin: 5px 0;
}

/* Form Styling */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #282938;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #1c1e53;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fcd980;
    box-shadow: 0 0 0 3px rgba(252, 217, 128, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #1c1e53;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #282938;
    position: relative;
    padding-left: 30px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #fcd980;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #fcd980;
    border-color: #fcd980;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #1c1e53;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password {
    color: #1c1e53;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #fcd980;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #fcd980;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #282938;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.auth-submit-btn:hover {
    background-color: #ffcb45;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 217, 128, 0.4);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #999;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.auth-divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.google-btn {
    color: #ea4335;
}

.google-btn:hover {
    background-color: #ea4335;
    color: #fff;
    border-color: #ea4335;
}

.microsoft-btn {
    color: #00a4ef;
}

.microsoft-btn:hover {
    background-color: #00a4ef;
    color: #fff;
    border-color: #00a4ef;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-footer a {
    color: #1c1e53;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #fcd980;
}

/* ========== BECOME AN INSTRUCTOR PAGE ========== */

/* Instructor Hero */
.instructor-hero {
    background: linear-gradient(135deg, #1c1e53 0%, #282938 100%);
    padding: 120px 20px 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.instructor-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(252, 217, 128, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.instructor-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.instructor-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fcd980;
}

.instructor-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background-color: #fcd980;
    color: #282938;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-cta-btn:hover {
    background-color: #ffcb45;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(252, 217, 128, 0.5);
}

/* Benefits Section */
.instructor-benefits {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-container h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1c1e53;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fcd980 0%, #ffcb45 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: #1c1e53;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #1c1e53;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Requirements Section */
.instructor-requirements {
    padding: 80px 20px;
    background-color: #fff;
}

.requirements-container {
    max-width: 1200px;
    margin: 0 auto;
}

.requirements-container h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1c1e53;
    margin-bottom: 50px;
}

.requirements-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.requirement-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.requirement-item i {
    font-size: 1.5rem;
    color: #fcd980;
    margin-top: 5px;
}

.requirement-item h4 {
    font-size: 1.2rem;
    color: #1c1e53;
    margin-bottom: 8px;
}

.requirement-item p {
    color: #666;
    line-height: 1.6;
}

.requirements-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Application Section */
.instructor-application {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.application-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.application-header {
    text-align: center;
    margin-bottom: 40px;
}

.application-header h2 {
    font-size: 2.5rem;
    color: #1c1e53;
    margin-bottom: 15px;
}

.application-header p {
    color: #666;
    font-size: 1.1rem;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #fcd980;
}

.form-section h3 {
    font-size: 1.5rem;
    color: #1c1e53;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: #fcd980;
}

/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
    margin-top: 8px;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-preview {
    min-height: 150px;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 20px;
}

.file-upload-preview:hover {
    border-color: #fcd980;
    background-color: #fffbf0;
}

.file-upload-preview i {
    font-size: 3rem;
    color: #666;
}

.file-upload-preview span {
    color: #666;
    font-size: 0.9rem;
}

.file-upload-preview.has-image {
    padding: 0;
    border-style: solid;
}

.file-upload-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        display: none;
    }

    .auth-form-container {
        padding: 40px 30px;
    }

    .instructor-hero h1 {
        font-size: 2.5rem;
    }

    .instructor-hero p {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .requirements-content {
        grid-template-columns: 1fr;
    }

    .requirements-image {
        order: -1;
    }

    .application-container {
        padding: 30px 20px;
    }

    .form-section {
        padding: 20px;
    }
}

/* Auth Options Section */
.auth-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.auth-option-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.auth-option-card:hover {
    border-color: #fcd980;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fcd980 0%, #ffcb45 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.auth-icon i {
    font-size: 2rem;
    color: #1c1e53;
}

.auth-option-card h3 {
    font-size: 1.5rem;
    color: #1c1e53;
    margin-bottom: 15px;
}

.auth-option-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.auth-btn.primary {
    background-color: #fcd980;
    color: #282938;
}

.auth-btn.primary:hover {
    background-color: #ffcb45;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 217, 128, 0.4);
}

.auth-btn.secondary {
    background-color: #1c1e53;
    color: #fff;
}

.auth-btn.secondary:hover {
    background-color: #282938;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 30, 83, 0.4);
}

.auth-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.auth-divider span {
    background-color: #1c1e53;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-form-header h1 {
        font-size: 1.8rem;
    }

    .instructor-hero {
        padding: 80px 20px 60px;
    }

    .instructor-hero h1 {
        font-size: 2rem;
    }

    .benefits-container h2,
    .requirements-container h2,
    .application-header h2 {
        font-size: 2rem;
    }

    .auth-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .auth-divider {
        transform: rotate(90deg);
    }
}
