/* ----------------------------------------------------
   GENEL TASARIM
---------------------------------------------------- */
body {
    background: #f4f5f7;
    margin: 0;
    font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
    color: #111827;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,h2,h3,h4,h5 {
    font-weight: 600;
}

/* ----------------------------------------------------
   AUTH SAYFASI (login, register, forgot, reset)
---------------------------------------------------- */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    border: none !important;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.logo-mark {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #3b82f6;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
}

.logo-text span {
    color: #3b82f6;
}

/* ----------------------------------------------------
   APP SHELL (panel)
---------------------------------------------------- */
.app-shell {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: 230px;
    background: white;
    border-right: 1px solid #e5e7eb;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-logo .logo-mark {
    margin: 0 auto;
}
.sidebar-logo .logo-text {
    font-size: 20px;
}

.sidebar-nav {
    padding: 10px;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    color: #374151;
    font-size: 15px;
    transition: 0.15s;
}

.sidebar-link:hover {
    background: #f3f4f6;
}

.sidebar-footer {
    border-top: 1px solid #e5e7eb;
    padding: 12px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.sidebar-user .avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----------------------------------------------------
   MAIN CONTENT
---------------------------------------------------- */
.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    padding: 18px 24px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.topbar-title {
    font-size: 22px;
    font-weight: 600;
}

.topbar-subtitle {
    font-size: 13px;
    color: #6b7280;
}

.app-content {
    padding: 20px 24px;
    flex: 1;
}

/* ----------------------------------------------------
   CARD TASARIM
---------------------------------------------------- */
.card {
    border-radius: 14px !important;
    border: none !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

/* ----------------------------------------------------
   MOBİL PANEL TASARIM
---------------------------------------------------- */
.m-card {
    background: white;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

/* Scroll içeriği için */
pre {
    background: #f9fafb;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
}

/* ----------------------------------------------------
   BUTTON
---------------------------------------------------- */
.btn-primary {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

.btn-outline-light {
    border-color: #d1d5db !important;
    color: #374151 !important;
}

.btn-outline-light:hover {
    background: #f3f4f6 !important;
}

/* ----------------------------------------------------
   BADGES
---------------------------------------------------- */
.badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
.app-footer {
    padding: 14px;
    text-align: center;
    background: white;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
}

.m-progress-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 999px;
    overflow: hidden;
}
.m-progress-bar .progress-bar {
    transition: width .6s ease;
}