body {
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Giriş sayfası */
.auth-page {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #2f80ed 0%, #1f4bbf 45%, #0b1b4a 100%);
    display: flex;
    align-items: center;
}

.auth-container {
    padding: 40px 16px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(10, 10, 40, 0.35);
}

.auth-card-inner {
    padding: 36px 32px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.auth-title {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.3px;
}

.auth-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 14px;
    border-radius: 12px;
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.auth-input:focus {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
    color: #fff;
}

.auth-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.auth-link:hover {
    color: #fff;
    text-decoration: underline;
}

.auth-button {
    background: #ffffff;
    border: none;
    color: #2b245a;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 12px;
}

.auth-button:hover,
.auth-button:focus {
    background: #ffffff;
    color: #2b245a;
    box-shadow: none;
}

.auth-hero {
    padding: 12px 24px;
}

.auth-cta {
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .auth-hero {
        text-align: left;
        margin-top: 16px;
    }
}

/* Panel */
.panel-body {
    background: #f4f6fb;
    color: #1f2937;
}

.panel-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #0b1b4a;
    color: #fff;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    transition: width 0.2s ease;
}

.sidebar-header {
    margin-bottom: 24px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-user-link {
    text-decoration: none;
    color: inherit;
}

.sidebar-user-link:hover .sidebar-user {
    opacity: 0.9;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar-image {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: block;
    flex-shrink: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.sidebar-section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin: 16px 12px 6px;
}

.panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.panel-topbar {
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.panel-layout.sidebar-collapsed .sidebar {
    width: 80px;
}

.panel-layout.sidebar-collapsed .sidebar-text,
.panel-layout.sidebar-collapsed .sidebar-section-title {
    display: none;
}

.panel-layout.sidebar-collapsed .sidebar-link {
    justify-content: center;
}

/* Profil sayfası – profil görseli */
.profile-image-wrapper {
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 80px;
    height: 80px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #9ca3af;
}
