/* ===================================
   GB Osam Vending — Kahve Otomat Sistemi
   Glassmorphism Tasarım Sistemi
   =================================== */

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

/* ===================================
   CSS CUSTOM PROPERTIES
   =================================== */
:root {
    /* Kahve Renk Paleti */
    --espresso: #1a0e0a;
    --dark-roast: #2C1810;
    --medium-roast: #3E2723;
    --light-roast: #5D4037;
    --mocha: #6D4C41;
    --latte: #8D6E63;
    --cream: #D7CCC8;
    --foam: #EFEBE9;
    --milk: #FAF8F5;

    /* Accent */
    --caramel: #FF8F00;
    --caramel-light: #FFB300;
    --caramel-dark: #E65100;
    --gold: #FFD54F;
    --gold-glow: rgba(255, 213, 79, 0.4);

    /* WhatsApp */
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-bg-hover: rgba(255, 255, 255, 0.11);
    --glass-bg-strong: rgba(255, 255, 255, 0.14);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-strong: rgba(255, 255, 255, 0.22);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --glass-blur: blur(20px);

    /* Status */
    --success: #66BB6A;
    --error: #EF5350;
    --warning: #FFA726;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET & BASE
   =================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--foam);
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    background: var(--espresso);
    background-image:
        radial-gradient(ellipse at 15% 0%, rgba(93, 64, 55, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(62, 39, 35, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 35% 85%, rgba(78, 52, 46, 0.3) 0%, transparent 55%),
        radial-gradient(ellipse at 95% 75%, rgba(109, 76, 65, 0.2) 0%, transparent 45%);
    background-attachment: fixed;
}

/* ===================================
   APP CONTAINER
   =================================== */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    padding: var(--space-md);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 100px);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* ===================================
   VIEW MANAGEMENT
   =================================== */
.view {
    display: none;
    flex-direction: column;
    gap: var(--space-lg);
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    flex: 1;
}

.view.active {
    display: flex;
}

/* ===================================
   GLASSMORPHISM CARD
   =================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--glass-shadow);
    transition: background var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-strong);
}

.glass-card-strong {
    background: var(--glass-bg-strong);
}

/* ===================================
   HEADER
   =================================== */
.header {
    position: relative;
    text-align: center;
    padding: 52px var(--space-md) var(--space-md);
}

.header__actions {
    position: absolute;
    top: max(8px, env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 0 10px;
    pointer-events: none;
}

.header__actions:not(.hidden) {
    pointer-events: auto;
}

.header__actions .header__action-btn.btn {
    min-height: 32px;
    height: 32px;
    padding: 0 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    line-height: 1;
    gap: 0;
}

.header__actions .header__action-btn--notify {
    width: 32px;
    padding: 0;
    justify-content: center;
    background-color: rgba(255, 167, 38, 0.15);
    border: 1px solid rgba(255, 167, 38, 0.4);
    color: var(--warning);
}

.header__actions .header__action-btn--notify span[aria-hidden="true"] {
    font-size: 0.95rem;
    line-height: 1;
}

.header__actions .header__action-btn.btn--logout {
    min-width: auto;
    padding: 0 10px;
}

.header__action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.header__action-btn--notify {
    color: var(--warning);
}

.header__action-label {
    display: none;
}

.header__logo {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 24px rgba(255, 143, 0, 0.35),
        0 0 0 3px rgba(255, 143, 0, 0.2);
    animation: floatIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.header__logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header__title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--milk) 0%, var(--cream) 50%, var(--caramel-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header__subtitle {
    font-size: 0.85rem;
    color: var(--latte);
    font-weight: 400;
    margin-top: var(--space-xs);
    letter-spacing: 0.3px;
}

/* ===================================
   MACHINE BADGE
   =================================== */
.machine-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px var(--space-md);
    background: rgba(255, 143, 0, 0.12);
    border: 1px solid rgba(255, 143, 0, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--caramel-light);
    margin-bottom: var(--space-md);
}

.machine-badge__dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: var(--radius-full);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(102, 187, 106, 0.5);
}

/* ===================================
   INFO GRID
   =================================== */
.info-grid {
    display: grid;
    gap: var(--space-md);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.info-item__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item__content {
    flex: 1;
    min-width: 0;
}

.info-item__label {
    font-size: 0.72rem;
    color: var(--latte);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.info-item__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--milk);
    margin-top: 2px;
    word-break: break-word;
}

/* ===================================
   INNER CARD
   =================================== */
.inner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* ===================================
   AVERAGE RATING DISPLAY
   =================================== */
.avg-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: 2px;
}

.avg-rating__stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

.avg-rating__value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--caramel-light);
}

.avg-rating__count {
    font-size: 0.75rem;
    color: var(--latte);
}

/* ===================================
   SECTION TITLE
   =================================== */
.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-title__icon {
    font-size: 1.15rem;
}

/* ===================================
   STAR RATING INTERACTIVE
   =================================== */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: var(--space-md) 0;
}

.star-rating__star {
    font-size: 2.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: rgba(255, 255, 255, 0.15);
    filter: drop-shadow(0 0 0 transparent);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    line-height: 1;
}

.star-rating__star:hover {
    transform: scale(1.15);
    color: rgba(255, 213, 79, 0.5);
}

.star-rating__star.active {
    color: var(--gold);
    filter: drop-shadow(0 0 10px var(--gold-glow));
    animation: starPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.star-rating__star:active {
    transform: scale(0.9);
}

.rating-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--latte);
    min-height: 1.3em;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.rating-label.has-value {
    color: var(--caramel-light);
}

/* ===================================
   FORM ELEMENTS
   =================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cream);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--milk);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all var(--transition-normal);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--caramel);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(255, 143, 0, 0.12);
}

.form-textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.5;
}

.form-input[type="date"] {
    color-scheme: dark;
}

.char-count {
    font-size: 0.75rem;
    color: var(--latte);
    text-align: right;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    min-height: 50px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: scale(0.97);
}

.btn--primary {
    background: linear-gradient(145deg, var(--caramel), var(--caramel-dark));
    color: white;
    box-shadow: 0 4px 18px rgba(255, 143, 0, 0.3);
}

.btn--primary:hover {
    box-shadow: 0 6px 28px rgba(255, 143, 0, 0.45);
    transform: translateY(-1px);
}

.btn--primary:active {
    transform: translateY(0) scale(0.97);
}

.btn--secondary {
    background: var(--glass-bg);
    color: var(--cream);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn--success {
    background: linear-gradient(145deg, var(--success), #43A047);
    color: white;
    box-shadow: 0 4px 18px rgba(102, 187, 106, 0.3);
}

.btn--success:hover {
    box-shadow: 0 6px 28px rgba(102, 187, 106, 0.45);
    transform: translateY(-1px);
}

.btn--whatsapp {
    background: linear-gradient(145deg, var(--whatsapp), var(--whatsapp-dark));
    color: white;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
    transform: translateY(-1px);
}

.btn--block {
    width: 100%;
}

.btn--loading {
    pointer-events: none;
    opacity: 0.75;
}

.btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.btn__spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.25);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

/* ===================================
   WHATSAPP FAB
   =================================== */
.whatsapp-fab {
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--whatsapp), var(--whatsapp-dark));
    border: none;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    box-shadow:
        0 4px 20px rgba(37, 211, 102, 0.4),
        0 0 0 0 rgba(37, 211, 102, 0.3);
    transition: all var(--transition-normal);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fabPulse 3s ease-in-out infinite;
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab:active {
    transform: scale(0.95);
}

/* ===================================
   TOAST NOTIFICATIONS
   =================================== */
.toast-container {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 16px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: calc(100% - 32px);
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
}

.toast {
    background: rgba(30, 20, 15, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    animation: slideInDown 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
    color: var(--milk);
    font-size: 0.9rem;
    font-weight: 500;
}

.toast--success {
    border-left: 3px solid var(--success);
}

.toast--error {
    border-left: 3px solid var(--error);
}

.toast--warning {
    border-left: 3px solid var(--warning);
}

.toast__icon {
    font-size: 1.3rem;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.toast--hiding {
    animation: slideOutUp 0.35s ease-in forwards;
}

/* ===================================
   ADMIN LOGIN
   =================================== */
.login-card {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
}

.login-card__icon {
    width: 84px;
    height: 84px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(145deg, rgba(255, 143, 0, 0.15), rgba(230, 81, 0, 0.15));
    border: 1px solid rgba(255, 143, 0, 0.25);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    animation: scaleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-card__title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--milk);
    margin-bottom: var(--space-xs);
}

.login-card__subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--latte);
    margin-bottom: var(--space-lg);
}

.login-card__label {
    display: block;
    margin-bottom: var(--space-xs);
}

.login-card__label--pin {
    margin-top: var(--space-md);
}

.login-username-field {
    display: flex;
    align-items: stretch;
    margin-bottom: var(--space-sm);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.login-username-field:focus-within {
    border-color: var(--caramel);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(255, 143, 0, 0.12);
}

.login-username-input {
    flex: 1;
    min-width: 0;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-right: var(--space-xs);
}

.login-username-suffix {
    display: flex;
    align-items: center;
    padding: 0 var(--space-md);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    border-left: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.15);
}

.login-password-field {
    margin-bottom: var(--space-lg);
}

.pin-input-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--space-lg);
}

.pin-input {
    width: 100%;
    padding: 14px var(--space-md);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--milk);
    outline: none;
    transition: all var(--transition-normal);
    font-family: var(--font-family);
    caret-color: var(--caramel);
}

.pin-input:focus {
    border-color: var(--caramel);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(255, 143, 0, 0.12);
}

.pin-input.error {
    border-color: var(--error);
    animation: shake 0.4s ease;
}

.login-error {
    text-align: center;
    font-size: 0.85rem;
    color: var(--error);
    min-height: 1.3em;
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.lockout-timer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--warning);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

/* ===================================
   ADMIN PANEL
   =================================== */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
}

.admin-header--panel {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.admin-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    width: 100%;
}

.admin-header__nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 40px;
}

.admin-header__btn-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.fiyat-kategori-title {
    margin: 16px 0 8px;
    padding-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--caramel-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fiyat-kategori-title:first-child {
    margin-top: 0;
}

.fiyat-add-form {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr auto;
    gap: 8px;
    align-items: end;
    margin-bottom: 24px;
}

.fiyat-add-form__field {
    min-width: 0;
}

.fiyat-add-form__field .form-label {
    font-size: 0.75rem;
    margin-bottom: var(--space-xs);
}

.fiyat-add-form__field .form-input,
.fiyat-add-form__field select.form-input {
    padding: 10px;
}

.fiyat-add-form__submit {
    min-height: 42px;
    padding: 10px 16px;
}

@media (max-width: 640px) {
    .fiyat-add-form {
        grid-template-columns: 1fr 1fr;
    }

    .fiyat-add-form__field--name,
    .fiyat-add-form__field--category {
        grid-column: 1 / -1;
    }

    .fiyat-add-form__submit {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.fiyat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fiyat-row {
    display: grid;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fiyat-row--customer {
    grid-template-columns: 1fr auto;
}

.fiyat-row--admin {
    grid-template-columns: minmax(0, 1fr) 92px 76px;
}

.fiyat-row__main {
    min-width: 0;
}

.fiyat-row__name {
    font-weight: 500;
    color: var(--milk);
    font-size: 1.05rem;
    line-height: 1.35;
    word-break: break-word;
}

.fiyat-row__date {
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--latte);
    opacity: 0.9;
}

.fiyat-row__price {
    justify-self: end;
    font-weight: 700;
    color: var(--caramel-light);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.95rem;
    white-space: nowrap;
    text-align: center;
    min-width: 88px;
}

.fiyat-row__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.fiyat-row__edit,
.fiyat-row__delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    min-height: unset;
}

.fiyat-row__edit {
    background: rgba(255, 213, 79, 0.15);
    border-color: rgba(255, 213, 79, 0.35);
    color: var(--gold);
}

.fiyat-row__delete {
    font-size: 0.72rem;
    font-weight: 600;
    width: auto;
    min-width: 34px;
    padding: 0 8px;
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border-color: rgba(220, 53, 69, 0.3);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal.hidden {
    display: none;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 360px;
    padding: var(--space-lg);
    animation: fadeInUp 0.25s ease;
}

.modal__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--milk);
    margin-bottom: var(--space-md);
}

.modal__form .form-group {
    margin-bottom: var(--space-md);
}

.modal__actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
    margin-top: var(--space-lg);
}

.modal__actions .btn {
    flex: 1;
    min-height: 42px;
}

.admin-header__title {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--milk);
}

.btn--logout {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(239, 83, 80, 0.12);
    border: 1px solid rgba(239, 83, 80, 0.25);
    color: var(--error);
    border-radius: var(--radius-sm);
    min-height: 36px;
}

.btn--logout:hover {
    background: rgba(239, 83, 80, 0.22);
}

.btn--back {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
    min-height: 36px;
    gap: 6px;
}

.maintenance-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(102, 187, 106, 0.08);
    border: 1px solid rgba(102, 187, 106, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 500;
}

/* Feedback items in admin */
.feedback-item {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    transition: background var(--transition-fast);
}

.feedback-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.feedback-item__text {
    color: var(--cream);
    margin-bottom: 6px;
    line-height: 1.5;
    font-style: italic;
}

.feedback-item__date {
    color: var(--latte);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===================================
   ADMIN INFO GRID
   =================================== */
.admin-info-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: var(--space-md) 0;
}

.admin-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px var(--space-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    transition: background var(--transition-fast);
}

.admin-info-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.admin-info-item__icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.admin-info-item__label {
    color: var(--latte);
    font-weight: 500;
    white-space: nowrap;
}

.admin-info-item__value {
    color: var(--cream);
    font-weight: 600;
    margin-left: auto;
    text-align: right;
}

/* ===================================
   MACHINE DASHBOARD
   =================================== */
.machine-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.machine-card {
    position: relative;
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--latte);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

.machine-card:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.machine-card:active {
    transform: scale(0.97);
}

.machine-card.active {
    border-color: var(--caramel) !important;
    background: rgba(255, 143, 0, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 143, 0, 0.2);
}

.machine-card--green {
    border-left-color: var(--success);
}

.machine-card--yellow {
    border-left-color: var(--warning);
}

.machine-card--red {
    border-left-color: var(--error);
}

.machine-card--gray {
    border-left-color: var(--latte);
}

.machine-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.machine-card__id {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--milk);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.machine-card__status-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.machine-card__status-dot--green {
    background: var(--success);
    box-shadow: 0 0 6px rgba(102, 187, 106, 0.5);
}

.machine-card__status-dot--yellow {
    background: var(--warning);
    box-shadow: 0 0 6px rgba(255, 167, 38, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.machine-card__status-dot--red {
    background: var(--error);
    box-shadow: 0 0 6px rgba(239, 83, 80, 0.5);
    animation: pulse 1.5s ease-in-out infinite;
}

.machine-card__status-dot--gray {
    background: var(--latte);
}

.machine-card__location {
    font-size: 0.68rem;
    color: var(--latte);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.machine-card__deadline {
    font-size: 0.68rem;
    font-weight: 600;
    margin-top: 2px;
}

.machine-card__deadline--green {
    color: var(--success);
}

.machine-card__deadline--yellow {
    color: var(--warning);
}

.machine-card__deadline--red {
    color: var(--error);
}

.machine-card__deadline--gray {
    color: var(--latte);
}

/* ===================================
   INBOX TABS (Geri Bildirim / Şikayet)
   =================================== */
.inbox-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.inbox-tab {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-family);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--cream);
    cursor: pointer;
    transition: all var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}

.inbox-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.inbox-tab.active {
    background: rgba(255, 143, 0, 0.15);
    border-color: rgba(255, 143, 0, 0.4);
    color: var(--caramel-light);
}

.inbox-tab[data-tab="complaints"].active {
    background: rgba(239, 83, 80, 0.12);
    border-color: rgba(239, 83, 80, 0.35);
    color: var(--error);
}

/* ===================================
   COMPLAINT RESOLVE BUTTON & BADGE
   =================================== */
.complaint-resolve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-family);
    color: var(--success, #4caf50);
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid rgba(76, 175, 80, 0.35);
    border-radius: var(--radius-full, 50%);
    cursor: pointer;
    transition: all var(--transition-fast, 0.15s ease);
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    line-height: 1;
}

.complaint-resolve-btn:hover {
    background: rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.6);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.complaint-resolve-btn:active {
    transform: scale(0.95);
}

.complaint-resolve-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

button.complaint-resolved-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--success, #4caf50);
    background: rgba(76, 175, 80, 0.12);
    padding: 3px 10px;
    border: 1px solid transparent;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all var(--transition-fast, 0.15s ease);
    -webkit-tap-highlight-color: transparent;
}

button.complaint-resolved-badge:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.4);
    text-decoration: line-through;
}

button.complaint-resolved-badge:active {
    transform: scale(0.95);
}

button.complaint-resolved-badge:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    text-decoration: none;
}

.complaint-card {
    transition: opacity var(--transition-normal, 0.3s ease), border-color var(--transition-normal, 0.3s ease);
}

.complaint-card--resolved {
    opacity: 0.7;
}

/* ===================================
   FEEDBACK FILTERS
   =================================== */
.feedback-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 4px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-group__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--latte);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
}

.filter-btn-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-family);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--cream);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: rgba(255, 143, 0, 0.15);
    border-color: rgba(255, 143, 0, 0.4);
    color: var(--caramel-light);
}

.filter-btn--bad.active {
    background: rgba(239, 83, 80, 0.12);
    border-color: rgba(239, 83, 80, 0.35);
    color: var(--error);
}

.filter-btn--mid.active {
    background: rgba(255, 167, 38, 0.12);
    border-color: rgba(255, 167, 38, 0.35);
    color: var(--warning);
}

.filter-btn--good.active {
    background: rgba(102, 187, 106, 0.12);
    border-color: rgba(102, 187, 106, 0.35);
    color: var(--success);
}

.filter-select {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-family);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--cream);
    outline: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
    padding-right: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238D6E63' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.filter-select:focus {
    border-color: var(--caramel);
    background-color: rgba(255, 255, 255, 0.08);
}

.filter-select option {
    background: var(--dark-roast);
    color: var(--cream);
}

.feedback-count {
    font-size: 0.75rem;
    color: var(--latte);
    font-weight: 500;
    padding: 2px 0;
}

/* ===================================
   FORM SECTIONS & LAYOUT
   =================================== */
.form-section {
    padding: var(--space-md) 0;
}

.form-section__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.form-row {
    display: flex;
    gap: var(--space-md);
}

.form-group--half {
    flex: 1;
    min-width: 0;
}

/* ===================================
   CALCULATED DATE DISPLAY
   =================================== */
.calculated-date {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px var(--space-md);
    background: rgba(102, 187, 106, 0.08);
    border: 1px solid rgba(102, 187, 106, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--success);
    font-weight: 500;
    margin-top: var(--space-sm);
    animation: fadeInUp 0.3s ease;
}

.calculated-date__icon {
    font-size: 1rem;
    color: var(--caramel-light);
}

/* ===================================
   PHOTO UPLOAD
   =================================== */
.photo-upload {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-upload__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 80%;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--cream);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--caramel);
}

.btn-action--camera {
    background: rgba(255, 143, 0, 0.1);
    border-color: rgba(255, 143, 0, 0.3);
    color: var(--caramel-light);
}

.hidden-file-input {
    display: none;
}

.photo-upload__preview-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.photo-upload__preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-remove-photo {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
}

/* ===================================
   WEBRTC CAMERA MODAL
   =================================== */
.camera-modal {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.camera-modal.hidden {
    display: none;
}

.camera-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.camera-btn {
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.camera-btn--close {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
}

.camera-btn--capture {
    width: 70px;
    height: 70px;
    background: white;
    border: 4px solid rgba(255, 255, 255, 0.5);
    background-clip: padding-box;
    box-shadow: 0 0 0 2px white;
}

.camera-btn--switch {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
}

/* ===================================
   PHOTO THUMBNAILS (Müşteri & Admin)
   =================================== */
.photos-section {
    margin-top: var(--space-sm);
}

.photo-thumbnails {
    display: flex;
    gap: var(--space-md);
}

.photo-thumb {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    cursor: pointer;
}

.photo-thumb__label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--latte);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.photo-thumb__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.photo-thumb__img:hover {
    border-color: var(--caramel);
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ===================================
   LIGHTBOX (Fotoğraf Büyütme)
   =================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    animation: scaleIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox__content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 1;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   LOADING VIEW
   =================================== */
.loading-view {
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    gap: var(--space-lg);
}

.loading-spinner {
    width: 52px;
    height: 52px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--caramel);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.loading-text {
    font-size: 0.9rem;
    color: var(--latte);
    animation: fadeInOut 2s ease-in-out infinite;
    font-weight: 500;
}

/* ===================================
   ERROR VIEW
   =================================== */
.error-view {
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    gap: var(--space-lg);
}

.error-icon {
    width: 88px;
    height: 88px;
    background: rgba(239, 83, 80, 0.12);
    border: 1px solid rgba(239, 83, 80, 0.25);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    animation: scaleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.error-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--milk);
}

.error-message {
    font-size: 0.9rem;
    color: var(--latte);
    max-width: 300px;
    line-height: 1.6;
}

/* ===================================
   DIVIDER
   =================================== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: var(--space-sm) 0;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes fabPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0.08);
    }
}

@keyframes starPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    15%, 55% { transform: translateX(-6px); }
    35%, 75% { transform: translateX(6px); }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 380px) {
    :root {
        font-size: 14px;
    }

    .app-container {
        padding: var(--space-sm);
    }

    .glass-card {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .star-rating__star {
        font-size: 2.2rem;
        gap: 8px;
    }

    .pin-input-group {
        gap: 6px;
    }

    .pin-input {
        font-size: 0.95rem;
    }

    .login-username-suffix {
        font-size: 0.75rem;
        padding: 0 var(--space-sm);
    }

    .header__logo {
        width: 64px;
        height: 64px;
    }

    .header__title {
        font-size: 1.35rem;
    }

    .form-row {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .photo-thumbnails {
        gap: var(--space-sm);
    }
}

@media (min-width: 481px) {
    .app-container {
        padding: var(--space-xl) var(--space-md);
    }
}

/* Safe area support for modern devices */
@supports (padding: env(safe-area-inset-top)) {
    .app-container {
        padding-top: calc(env(safe-area-inset-top) + var(--space-md));
        padding-bottom: calc(env(safe-area-inset-bottom) + 100px);
        padding-left: calc(env(safe-area-inset-left) + var(--space-md));
        padding-right: calc(env(safe-area-inset-right) + var(--space-md));
    }
}

/* ===================================
   SCROLLBAR
   =================================== */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===================================
   SELECTION & FOCUS
   =================================== */
::selection {
    background: rgba(255, 143, 0, 0.3);
    color: var(--milk);
}

:focus-visible {
    outline: 2px solid var(--caramel);
    outline-offset: 2px;
}

/* ===================================
   UTILITIES
   =================================== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-md {
    margin-top: var(--space-md);
}
