/* Lash Custom Premium Design System (Mobile-Frame Dark Slate & Rose Gold) */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Great+Vibes&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --color-primary: #0f172a;
    --color-primary-dark: #070a11;
    --color-secondary: #f472b6; /* Rosa / Rose Gold */
    --color-secondary-hover: #fb7185;
    --color-gold-muted: #fda4af;
    --color-tertiary: #1e293b;
    --color-card-bg: rgba(30, 41, 59, 0.75);
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-alert: #ef4444;
    --color-success: #22c55e;
    --color-whatsapp: #25d366;
    --color-border-subtle: rgba(255, 255, 255, 0.08);
    --color-border-gold: rgba(244, 114, 182, 0.35);
    --app-max-width: 480px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-primary-dark);
    color: var(--color-text);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

/* Tipografia Manuscrita Cursiva Elegante */
.font-handwriting {
    font-family: 'Great Vibes', 'Alex Brush', cursive !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em !important;
}

/* Mobile Frame Wrapper Centralizado */
.mobile-app-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background-color: var(--color-primary-dark);
}

.mobile-app-frame {
    width: 100%;
    max-width: var(--app-max-width);
    min-height: 100vh;
    background-color: var(--color-primary);
    background: radial-gradient(circle at 50% 0%, #2a1b2d 0%, #0f172a 60%, #070a11 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.85);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 576px) {
    .mobile-app-frame {
        border-left: none;
        border-right: none;
        box-shadow: none;
    }
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--color-card-bg) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--color-border-subtle) !important;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
}

.glass-card-hover:hover {
    border-color: var(--color-border-gold) !important;
    box-shadow: 0 14px 30px rgba(244, 114, 182, 0.15) !important;
}

/* Header Glass */
.glass-header {
    background: rgba(15, 23, 42, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border-subtle);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--color-secondary);
}

.text-gold {
    color: var(--color-secondary) !important;
}

.text-muted-custom {
    color: var(--color-text-muted) !important;
}

/* Button System */
.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

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

/* Botão Rosa / Rose Gold */
.btn-gold {
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.35);
}

.btn-gold:hover {
    filter: brightness(1.1);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.5);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1eb954 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    filter: brightness(1.08);
    color: #ffffff !important;
}

.btn-outline-gold {
    background-color: transparent !important;
    color: var(--color-secondary) !important;
    border: 1px solid var(--color-secondary) !important;
}

.btn-outline-gold:hover, .btn-outline-gold.active {
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%) !important;
    color: #ffffff !important;
    border-color: #f472b6 !important;
}

.btn-action-glass {
    background: #1e293b !important;
    border: 1.5px solid rgba(244, 114, 182, 0.45) !important;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 11px 14px;
    min-height: 48px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-action-glass:hover {
    background: #283548 !important;
    border-color: #f472b6 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.25);
}

.btn-action-install {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.25) 0%, rgba(219, 39, 119, 0.45) 100%) !important;
    border: 1.5px solid #f472b6 !important;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 11px 14px;
    min-height: 48px;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-action-install:hover {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.45) 0%, rgba(219, 39, 119, 0.7) 100%) !important;
    border-color: #fb7185 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(244, 114, 182, 0.45);
}


/* Inputs */
.form-control, .form-select {
    background-color: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0 2px rgba(244, 114, 182, 0.25) !important;
    background-color: rgba(15, 23, 42, 0.95) !important;
}

.form-label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Hero Box Compact */
.hero-box {
    background: linear-gradient(145deg, rgba(42, 27, 45, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid var(--color-border-gold) !important;
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.profile-avatar-wrapper {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    padding: 3px;
    background: #000000; border: 2px solid #000000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0f172a;
}

/* Chips Seletor de Dias */
.day-chip {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    cursor: pointer;
    text-align: center;
    min-width: 72px;
    user-select: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.day-chip:active {
    transform: scale(0.95);
}

.day-chip.active {
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
    color: #ffffff;
    font-weight: 700;
    border-color: #f472b6;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.4);
}

/* Slots de Horários */
.slot-chip {
    padding: 12px 10px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.slot-chip:active {
    transform: scale(0.95);
}

.slot-chip.selected {
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%) !important;
    color: #ffffff !important;
    border-color: #f472b6 !important;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.45);
}

/* Service Card Select */
.service-card-select {
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(30, 41, 59, 0.6);
    transition: all 0.2s ease;
}

.service-card-select:hover {
    border-color: rgba(244, 114, 182, 0.4);
    background: rgba(30, 41, 59, 0.85);
}

.service-card-select.active {
    border-color: #f472b6;
    background: rgba(244, 114, 182, 0.1);
    box-shadow: 0 0 0 1px #f472b6;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 999;
    text-decoration: none;
    transition: all 0.2s ease;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08);
    color: #ffffff;
}

/* Badges Status */
.badge-status-disponivel {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.badge-status-reservado {
    background: rgba(244, 114, 182, 0.18);
    color: #f472b6;
    border: 1px solid rgba(244, 114, 182, 0.4);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.badge-status-bloqueado {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

/* ==========================================================
   Blazored Toast - Ultra Premium Glassmorphism Slate & Rose
   ========================================================== */
@keyframes toastSlideInTop {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.blazored-toast-container {
    z-index: 999999 !important;
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 380px !important;
    width: calc(100vw - 2rem) !important;
    pointer-events: none !important;
}

@media (max-width: 576px) {
    .blazored-toast-container {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        max-width: 440px !important;
        width: calc(100% - 24px) !important;
        top: 12px !important;
    }
}

.blazored-toast {
    pointer-events: auto !important;
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    font-family: 'Outfit', sans-serif !important;
    background: rgba(15, 23, 42, 0.94) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 
                0 0 0 1px rgba(255, 255, 255, 0.05), 
                inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    animation: toastSlideInTop 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.blazored-toast:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.9) !important;
}

.blazored-toast::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4.5px !important;
    border-radius: 16px 0 0 16px !important;
}

.blazored-toast-success::before {
    background: linear-gradient(180deg, #f472b6 0%, #22c55e 100%) !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.8) !important;
}
.blazored-toast-success {
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.blazored-toast-error::before {
    background: linear-gradient(180deg, #f87171 0%, #ef4444 100%) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.8) !important;
}
.blazored-toast-error {
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.blazored-toast-warning::before {
    background: linear-gradient(180deg, #f472b6 0%, #fb7185 100%) !important;
    box-shadow: 0 0 12px rgba(244, 114, 182, 0.8) !important;
}
.blazored-toast-warning {
    border-color: rgba(244, 114, 182, 0.4) !important;
}

.blazored-toast-info::before {
    background: linear-gradient(180deg, #f472b6 0%, #fda4af 100%) !important;
    box-shadow: 0 0 12px rgba(244, 114, 182, 0.8) !important;
}
.blazored-toast-info {
    border-color: rgba(244, 114, 182, 0.4) !important;
}

.blazored-toast-body {
    flex: 1 1 auto !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.blazored-toast-heading {
    color: #f472b6 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-bottom: 2px !important;
    letter-spacing: -0.01em !important;
}

.blazored-toast-message {
    color: #f1f5f9 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.blazored-toast-close-button {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #94a3b8 !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-left: 6px !important;
}

.blazored-toast-close-button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

.blazored-toast-progressbar {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.blazored-toast-progressbar > span {
    height: 100% !important;
    display: block !important;
}

.blazored-toast-success .blazored-toast-progressbar > span {
    background: linear-gradient(90deg, #22c55e, #f472b6) !important;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8) !important;
}

.blazored-toast-error .blazored-toast-progressbar > span {
    background: linear-gradient(90deg, #ef4444, #f87171) !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8) !important;
}

.blazored-toast-warning .blazored-toast-progressbar > span {
    background: linear-gradient(90deg, #fb7185, #f472b6) !important;
    box-shadow: 0 0 8px rgba(244, 114, 182, 0.8) !important;
}

/* ==========================================================
   Blazor Error UI (Oculto por padrão, exibido apenas se houver falha fatal)
   ========================================================== */
#blazor-error-ui {
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 100000;
    font-size: 13.5px;
    font-family: 'Outfit', sans-serif;
    text-align: center;
}

#blazor-error-ui a.reload {
    color: #f472b6;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 8px;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    padding: 4px 8px;
    line-height: 1;
}

#blazor-error-ui .dismiss:hover {
    color: #ffffff;
}