/* MODERN PREMIUM DESIGN SYSTEM */
:root {
    --primary: #FF6B00;
    --primary-glow: rgba(255, 107, 0, 0.4);
    --secondary: #1E293B;
    --accent: #F59E0B;
    --success: #10B981;
    --danger: #EF4444;
    --background: #0F172A;
    /* Deep Navy Background */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
}

[v-cloak] {
    display: none;
}

/* PREMIUM TRANSITIONS */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

body {
    background-color: var(--background);
    background-image:
        radial-gradient(circle at 10% 10%, rgba(255, 107, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
    color: #F8FAFC;
    min-height: 100vh;
}

/* PREMIUM GLASS CLINIC */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-panel-content {
    overflow-y: auto;
    flex: 1;
    padding-right: 10px;
}

.glass-panel:hover {
    border-color: rgba(255, 107, 0, 0.2);
    box-shadow: 0 8px 32px 0 rgba(255, 107, 0, 0.05);
}

/* NAVIGATION GLO-UP */
.nav-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(4px);
}

.nav-item-active {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.15) 0%, transparent 100%);
    color: var(--primary) !important;
    border-right: 3px solid var(--primary);
}

.nav-item-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

/* BENTO GRID REINVENTED */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 1.5rem;
}

.bento-card {
    grid-column: span 12;
}

@media (min-width: 768px) {
    .bento-card-sm {
        grid-column: span 4;
    }

    .bento-card-md {
        grid-column: span 6;
    }

    .bento-card-lg {
        grid-column: span 8;
    }
}

/* PULSE ANIMATION */
.pulse-online {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* CUSTOM BUTTONS */
.btn-premium {
    background: linear-gradient(135deg, #FF6B00 0%, #F59E0B 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

/* INPUTS REDEFINED */
.input-premium {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.input-premium:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.1);
}

/* Fix dropdown options contrast */
select.input-premium,
select.input-premium option,
select.bg-transparent,
select.bg-transparent option {
    background-color: #1E293B !important;
    color: white !important;
}

select option {
    background: #1E293B;
    color: white;
}

/* CHAT BUBBLES 2.0 */
.chat-container {
    background: rgba(15, 23, 42, 0.6);
}

.bubble {
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.bubble-client {
    background: rgba(255, 255, 255, 0.05);
    color: #F1F5F9;
    border-bottom-left-radius: 4px;
}

.bubble-bot {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 107, 0, 0.05) 100%);
    border-color: rgba(255, 107, 0, 0.2);
    color: #FDBA74;
    border-bottom-right-radius: 4px;
}

.bubble-human {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
    border-bottom-right-radius: 4px;
}

/* SCROLLBARS */
::-webkit-scrollbar {
    width: 6px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* TABLES GLO-UP */
.table-premium {
    width: 100%;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
}

.table-premium tr {
    transition: all 0.3s ease;
}

.table-premium td {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.table-premium td:first-child {
    border-radius: 1rem 0 0 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.02);
}

.table-premium td:last-child {
    border-radius: 0 1rem 1rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.02);
}

.table-premium tr:hover td {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* CUSTOM SWITCH */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

/* SMALL SWITCH FOR OPTIONS */
.switch-sm {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
}

.switch-sm input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-sm .slider:before {
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
}

.switch-sm input:checked+.slider:before {
    transform: translateX(16px);
}