
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-black: #000000;
    --bg-dark-grey: #1F1F1F;
    --primary-green: #006400; /* Koyu Yeşil */
    --text-white: #FFFFFF;
    --text-grey: #B0B0B0;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; }

/* Header */
header {
    padding: 20px;
    text-align: center;
    background-color: var(--bg-black);
    border-bottom: 1px solid #333;
}

/* Logo Tasarımı & Efektler */
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05); /* Hafif büyüme */
}

.text-focus {
    color: var(--primary-green);
    transition: text-shadow 0.3s ease;
}

.text-vision {
    color: var(--text-white);
    transition: text-shadow 0.3s ease;
}

/* Hover Neon Efekti */
.logo:hover .text-focus {
    text-shadow: 0 0 15px rgba(0, 100, 0, 0.8);
}

.logo:hover .text-vision {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

/* Grid Yapısı */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

.course-card {
    background-color: var(--bg-dark-grey);
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
    display: block;
    color: white;
}

.course-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 100, 0, 0.2);
}

.course-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.course-title {
    font-size: 1rem;
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #666;
    margin-top: auto;
}

.brand-green { color: var(--primary-green); font-weight: bold; }
.brand-white { color: white; }
/* --- MODERN GİRİŞ & KAYIT (PREMIUM UI) --- */

.auth-wrapper {
    min-height: 80vh; /* Sayfanın ortasında durması için */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* Arka plana hafif odaklanmış yeşil bir ışık efekti */
    background: radial-gradient(circle at center, rgba(0, 100, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
}

.auth-card {
    background-color: #0a0a0a;
    width: 100%;
    max-width: 380px;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #222;
    /* Kutu gölgesi ve hafif yeşil parlama */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 100, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Üstteki ince yeşil çizgi detayı */
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
    letter-spacing: -0.5px;
}

/* Input Alanları */
.form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 5px;
}

.form-control {
    width: 100%;
    padding: 14px 15px;
    background-color: #111;
    border: 1px solid #333;
    color: white;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    background-color: #161616;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 100, 0, 0.1); /* Odaklanınca hafif yeşil halka */
}

/* Buton */
.btn-auth {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #006400 0%, #004d00 100%);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 100, 0, 0.3);
}

.auth-footer {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #666;
}

.auth-footer a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.auth-footer a:hover { color: #00ff00; }

/* Alert / Popup Mesajları */
.alert-box {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    text-align: left;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.alert-box i {
    margin-right: 10px;
    font-size: 1.2rem;
}


/* --- PROFİL SAYFASI --- */
.profile-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .profile-container { flex-direction: column; }
}

/* Sol Taraf: Kullanıcı Kartı */
.profile-card {
    flex: 1;
    background-color: var(--bg-dark-grey);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    height: fit-content;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background-color: #111;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    box-shadow: 0 0 15px rgba(0, 100, 0, 0.2);
}

.profile-name { font-size: 1.2rem; font-weight: bold; color: white; margin-bottom: 5px; }
.profile-role { color: var(--primary-green); font-size: 0.9rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }

.profile-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
}
.stat-item span { display: block; font-weight: bold; color: white; font-size: 1.1rem; }
.stat-item label { font-size: 0.8rem; color: #888; }

/* Sağ Taraf: Gönderiler Listesi */
.profile-content {
    flex: 2;
}

.content-header {
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: white;
    font-size: 1.2rem;
}

.upload-item {
    background-color: #111;
    border: 1px solid #222;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}
.upload-item:hover { border-color: #444; }

.upload-info h4 { margin: 0 0 5px 0; font-size: 1rem; color: #ddd; }
.upload-info p { margin: 0; font-size: 0.8rem; color: #666; }

/* Durum Rozetleri */
.badge { padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }
.badge-pending { background: rgba(255, 165, 0, 0.15); color: orange; border: 1px solid rgba(255, 165, 0, 0.3); }
.badge-approved { background: rgba(0, 128, 0, 0.15); color: #00ff00; border: 1px solid rgba(0, 128, 0, 0.3); }
.badge-rejected { background: rgba(255, 0, 0, 0.15); color: #ff4444; border: 1px solid rgba(255, 0, 0, 0.3); }


