/* Hamle360 — ortak modern tema (Bootstrap 5 üzerine) */
:root {
    --app-primary: #2563eb;
    --app-primary-dark: #1d4ed8;
    --app-surface: rgba(255, 255, 255, 0.92);
    --app-border: rgba(15, 23, 42, 0.08);
    --app-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    --app-shadow-hover: 0 18px 48px rgba(37, 99, 235, 0.14);
    --app-radius: 1rem;
}

body.app-shell {
    font-family: "DM Sans", system-ui, -apple-system, sans-serif;
    color: #0f172a;
    background: linear-gradient(165deg, #eef2ff 0%, #f8fafc 38%, #ecfeff 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

body.app-shell h1,
body.app-shell h2,
body.app-shell h3,
body.app-shell h4,
body.app-shell .navbar-brand {
    font-family: "Outfit", system-ui, sans-serif;
    letter-spacing: -0.02em;
}

body.app-shell main.container {
    max-width: 1140px;
}

.app-navbar {
    background: linear-gradient(120deg, #0f172a 0%, #1e293b 48%, #172554 100%) !important;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(8px);
}

.app-navbar .nav-link {
    border-radius: 0.5rem;
    margin: 0 0.1rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.app-navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.app-navbar .navbar-brand {
    font-weight: 700;
}

/* Kartlar */
body.app-shell .card {
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    background: var(--app-surface);
    box-shadow: var(--app-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.app-shell a.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--app-shadow-hover);
    border-color: rgba(37, 99, 235, 0.22);
}

body.app-shell .card.text-decoration-none .card-body {
    color: inherit;
}

body.app-shell .table {
    --bs-table-bg: transparent;
}

body.app-shell .form-control:focus,
body.app-shell .form-select:focus {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

/* Dashboard grid ikon alanı */
.dashboard-tile-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12));
    margin-bottom: 0.75rem;
}

/* Puzzle / tahta sayfaları */
.puzzle-board-wrap {
    border-radius: var(--app-radius);
    padding: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    border: 1px solid var(--app-border);
}
