:root {
    --bg-color: #0b0c10;
    --text-color: #f3f3f3;
    --primary-neon: #00ffcc;
    --secondary-neon: #0077ff;
    --auth-bg: rgba(20, 24, 33, 0.85);
    /* Değişken isimleri nötr hale getirildi, renkler aynı kaldı */
    --brand-primary: #0067b8;
    --brand-primary-hover: #005da6;
}

body { 
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('arkaplan3.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    color: var(--text-color); 
    font-family: 'Segoe UI', -apple-system, system-ui, sans-serif; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    margin: 0; 
    overflow: hidden; 
}

.auth-card { 
    background: var(--auth-bg); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px);
    padding: 44px 44px; 
    border-radius: 0px; 
    border: 1px solid rgba(255, 255, 255, 0.12); 
    width: 100%; 
    max-width: 440px; 
    min-height: 420px; 
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6); 
    box-sizing: border-box; 
    position: relative;
    text-align: left;
}

.avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.avatar-container {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: visible; 
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.1s ease;
}

.avatar-container:active { transform: scale(0.97); }

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-container .default-avatar-icon {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #ffffff;
}

.avatar-badge-plus {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 26px;
    height: 26px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 12px;
    border: 2px solid #141821; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
    z-index: 3;
}

.avatar-container:hover .avatar-badge-plus {
    background: var(--brand-primary-hover);
    transform: scale(1.1);
}

.menu-container { position: absolute; top: 20px; right: 20px; z-index: 5; }
.menu-dot-btn { background: transparent; border: none; color: #a0a0a0; font-size: 1.2rem; cursor: pointer; padding: 5px; transition: 0.2s; }
.menu-dot-btn:hover { color: #ffffff; }

.dropdown-menu { 
    display: none; position: absolute; top: 30px; right: 0; background: #1b222f; 
    border: 1px solid rgba(255,255,255,0.15); border-radius: 0px; width: 170px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.5); overflow: hidden;
}
.dropdown-menu button { 
    width: 100%; padding: 11px 16px; background: transparent; border: none; 
    color: white; text-align: left; font-size: 13px; cursor: pointer; transition: 0.2s;
}
.dropdown-menu button:hover { background: rgba(255,255,255,0.08); }

h1, h2 { margin: 0 0 14px 0; font-size: 1.6rem; font-weight: 600; color: #ffffff; }
p { color: #cccccc; font-size: 0.93rem; margin: 0 0 24px 0; line-height: 1.4; }
.input-group { margin-bottom: 18px; }

input, textarea, select { 
    width: 100%; 
    padding: 6px 0px 8px 0px !important; 
    margin-bottom: 20px; 
    background: transparent !important; 
    background-color: transparent !important;
    border: none !important; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important; 
    color: #ffffff !important; 
    box-sizing: border-box; 
    font-size: 15px;
    border-radius: 0px !important;
    outline: none !important;
    transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus { 
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: 2px solid var(--brand-primary) !important; 
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 30px #171d28 inset !important; 
    box-shadow: 0 0 0 30px #171d28 inset !important;
}

button { width: 100%; padding: 8px 32px; cursor: pointer; font-size: 0.95rem; transition: all 0.15s ease; border-radius: 0px !important; }
.primary-btn { background: var(--brand-primary); color: #ffffff; border: none; float: right; width: auto; min-width: 108px; }
.primary-btn:hover { background: var(--brand-primary-hover); }

#loading-screen {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(11, 12, 16, 0.95); display: flex; flex-direction: column;
    justify-content: center; align-items: center; z-index: 9999;
}
.spinner {
    width: 40px; height: 40px; border: 3px solid rgba(0, 255, 204, 0.1);
    border-radius: 50%; border-top-color: var(--primary-neon);
    animation: spin 0.8s linear infinite;
}
.status-text { color: var(--primary-neon); font-family: monospace; margin-top: 15px; font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
