/* register.php sayfasina ait stiller. <head> icinde yuklenir. */
/* ----------------------------------------------
   1. AMBIENT & COSMIC UNIVERSE WRAPPER
------------------------------------------------ */
.auth-universe-wrapper {
    position: relative;
    background-color: #060810;
    min-height: calc(100vh - 80px);
    overflow: hidden;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    padding: 50px 0 80px;
}

.cosmic-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.cosmic-nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    pointer-events: none;
    animation: pulseRegisterNebula 12s ease-in-out infinite alternate;
}

.nebula-cyan {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #00f2ff, transparent 70%);
    top: -120px;
    left: -120px;
}

.nebula-purple {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7928ca, transparent 70%);
    top: 30%;
    right: -180px;
    animation-delay: -5s;
}

.nebula-gold {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #ff9900, transparent 70%);
    bottom: 5%;
    left: 10%;
    opacity: 0.16;
    animation-delay: -8s;
}

.cosmic-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

@keyframes pulseRegisterNebula {
    0% { transform: scale(1) translateY(0); opacity: 0.28; }
    50% { transform: scale(1.1) translateY(-15px); opacity: 0.42; }
    100% { transform: scale(0.95) translateY(10px); opacity: 0.28; }
}

.auth-main-container {
    position: relative;
    z-index: 5;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ----------------------------------------------
   2. TYPOGRAPHY & GRADIENTS
------------------------------------------------ */
.gradient-text-cyan-blue {
    background: linear-gradient(135deg, #00f2ff 0%, #3b82f6 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-cyan { color: #00f2ff !important; }
.text-emerald { color: #10b981 !important; }
.text-purple { color: #a855f7 !important; }
.text-gold { color: #fbbf24 !important; }

/* ----------------------------------------------
   3. SPLIT-SCREEN GRID LAYOUT
------------------------------------------------ */
.auth-split-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    gap: 45px;
    align-items: center;
}

/* ----------------------------------------------
   4. LEFT SHOWCASE COLUMN (TEACHER SECTION)
------------------------------------------------ */
.auth-showcase-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

/* ============================================ */
/* ÖĞRETMEN VURGU KARTI                         */
/* ============================================ */
/* ============================================ */
/* ÖĞRETMEN VURGU KARTI (AUTH-GLASS-CARD)       */
/* ============================================ */
.teacher-glass-box {
    border-color: rgba(16, 185, 129, 0.32) !important;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(16, 185, 129, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.teacher-glass-box::before {
    background: linear-gradient(90deg, transparent, #10b981, #f59e0b, transparent) !important;
}

.teacher-avatar-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(245, 158, 11, 0.2)) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.25) !important;
}

.teacher-emoji {
    font-size: 2.2rem;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    animation: waveTeacherEmoji 3s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes waveTeacherEmoji {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
}

.teacher-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #10b981;
    text-transform: uppercase;
    background: rgba(16, 185, 129, 0.14);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.teacher-desc {
    font-size: 0.92rem !important;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82) !important;
    margin-top: 6px;
}

.teacher-features-mini {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 18px 0 6px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.teacher-feat-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.teacher-cta-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%) !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35) !important;
    text-decoration: none !important;
}

.teacher-cta-btn:hover {
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.5) !important;
    filter: brightness(1.1) !important;
    color: #ffffff !important;
}

/* Davet Bannerı */
.invite-alert-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    padding: 16px 20px;
}

.invite-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.invite-alert-card strong {
    color: #fbbf24;
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.invite-alert-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Vitrin Özellikleri 2x2 Grid */
.showcase-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 5px;
}

.showcase-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(18, 25, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.showcase-feat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 242, 255, 0.3);
}

.feat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.icon-cyan { background: rgba(0, 242, 255, 0.12); color: #00f2ff; border: 1px solid rgba(0, 242, 255, 0.25); }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.25); }
.icon-gold { background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.25); }
.icon-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.25); }

.feat-text h6 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px 0;
}

.feat-text p {
    font-size: 0.76rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Güven Şeridi */
.showcase-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------------
   5. RIGHT REGISTRATION CONSOLE (GLASSMORPHISM)
------------------------------------------------ */
.auth-glass-card {
    background: rgba(18, 25, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 38px 36px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 242, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.auth-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f2ff, #7928ca, transparent);
    animation: scanlineReg 4s linear infinite;
}

@keyframes scanlineReg {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.card-header-block {
    text-align: center;
    margin-bottom: 24px;
}

.auth-avatar-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.15), rgba(121, 40, 202, 0.15));
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: #00f2ff;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.2);
}

.card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 5px 0;
    letter-spacing: -0.5px;
}

.card-subtitle {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Bildirim Kutuları */
.auth-notice-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.notice-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.notice-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Form Grupları */
.auth-form-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modern-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modern-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 6px;
}

.modern-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix-icon {
    position: absolute;
    left: 15px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    pointer-events: none;
}

.modern-tech-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(10, 15, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modern-tech-input:focus {
    border-color: #00f2ff;
    background: rgba(10, 15, 28, 0.85);
    box-shadow: 
        0 0 20px rgba(0, 242, 255, 0.2),
        inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.modern-input-wrapper:focus-within .input-prefix-icon {
    color: #00f2ff;
}

.field-hint {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.password-toggle-btn {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle-btn:hover {
    color: #00f2ff;
}

/* KVKK Satırı */
.kvkk-checkbox-group {
    margin: 4px 0 6px;
}

.remember-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #00f2ff;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 2px;
    flex-shrink: 0;
}

.kvkk-link {
    color: #00f2ff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.kvkk-link:hover {
    color: #38bdf8;
}

/* Kayıt Butonu */
.mission-login-btn {
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #00f2ff 0%, #2563eb 50%, #7c3aed 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.mission-login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 242, 255, 0.45);
    filter: brightness(1.08);
}

.mission-login-btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn-arrow {
    transition: transform 0.25s ease;
}

.mission-login-btn:hover:not(:disabled) .btn-arrow {
    transform: translateX(4px);
}

/* Ayırıcı */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0 18px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
    padding: 0 14px;
}

/* Footer & Rol Hapları */
.auth-card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.register-prompt {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    text-align: center;
}

.register-link {
    color: #00f2ff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.register-link:hover {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.role-switch-pills {
    display: flex;
    gap: 10px;
    width: 100%;
}

.role-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pill-teacher {
    color: #fbbf24;
}

.pill-teacher:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.35);
    transform: translateY(-2px);
}

.pill-login {
    color: #00f2ff;
}

.pill-login:hover {
    background: rgba(0, 242, 255, 0.12);
    border-color: rgba(0, 242, 255, 0.35);
    transform: translateY(-2px);
}

/* ----------------------------------------------
   6. RESPONSIVE BREAKPOINTS (Form Top on Mobile)
------------------------------------------------ */
@media (max-width: 1024px) {
    .auth-split-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .auth-showcase-column {
        order: 1;
        width: 100%;
    }

    .auth-form-column {
        order: 2;
        width: 100%;
    }

    .auth-glass-card {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    /* Mobil Görünüm İçin Kompakt Öğretmen Kartı */
    .teacher-glass-box {
        padding: 20px 22px !important;
        border-radius: 20px !important;
    }

    .teacher-glass-box .card-header-block {
        margin-bottom: 10px;
    }

    .teacher-glass-box .teacher-avatar-icon {
        width: 44px !important;
        height: 44px !important;
        margin: 0 auto 8px !important;
        border-radius: 12px !important;
    }

    .teacher-glass-box .teacher-emoji {
        font-size: 1.5rem !important;
    }

    .teacher-glass-box .teacher-card-badge {
        margin-bottom: 6px !important;
        padding: 3px 10px !important;
        font-size: 0.65rem !important;
    }

    .teacher-glass-box .card-title {
        font-size: 1.22rem !important;
        margin-bottom: 3px !important;
    }

    .teacher-glass-box .teacher-desc {
        font-size: 0.83rem !important;
        line-height: 1.45 !important;
        margin-top: 3px !important;
    }

    /* Mobilde alanı korumak için mini maddeleri gizle */
    .teacher-glass-box .teacher-features-mini {
        display: none !important;
    }

    .teacher-glass-box .teacher-desktop-login-block {
        display: none !important;
    }

    .teacher-glass-box .teacher-cta-btn {
        padding: 10px 18px !important;
        font-size: 0.86rem !important;
        border-radius: 12px !important;
    }

    .teacher-glass-box .teacher-mobile-sublink {
        display: block !important;
        text-align: center;
        margin-top: 8px;
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .teacher-glass-box .teacher-mobile-sublink a {
        color: #00f2ff;
        text-decoration: none;
        font-weight: 600;
    }
}

@media (max-width: 640px) {
    .auth-universe-wrapper {
        padding: 24px 0 50px;
    }

    .auth-glass-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    /* Ekstra Küçük Ekranlarda Öğretmen Kartı */
    .teacher-glass-box {
        padding: 15px 16px !important;
        border-radius: 16px !important;
    }

    .teacher-glass-box .teacher-avatar-icon {
        width: 36px !important;
        height: 36px !important;
        margin: 0 auto 6px !important;
    }

    .teacher-glass-box .teacher-emoji {
        font-size: 1.3rem !important;
    }

    .teacher-glass-box .card-title {
        font-size: 1.1rem !important;
    }

    .teacher-glass-box .teacher-desc {
        font-size: 0.78rem !important;
    }

    .teacher-glass-box .teacher-cta-btn {
        padding: 9px 14px !important;
        font-size: 0.82rem !important;
    }

    .form-dual-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .role-switch-pills {
        flex-direction: column;
    }
}
