﻿/* Futuristic Dark Theme Variables */
:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-blue: #0ea5e9;
}

.bg-dashboard {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
}


/* Deep navy from image */
.bg-dark-soft {
    background-color: #1e293b;
    border-radius: 15px;
}

/*.setting-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1.25rem;
}*/

.setting-card {
    background-color: #1e293b;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 12px;
    color:white;    
}
/*    .setting-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.07);
        border-color: var(--accent-blue) !important;
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    }*/

    .setting-card:hover {
        background-color: #334155;
        transform: translateX(5px);
    }

.active-card {
    background-color: #334155 !important;
    border-left: 4px solid #3b82f6 !important;
}

/*.icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}*/
.icon-box-small {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
}


/* Animations */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accent Colors from Image */
.blue-accent {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.purple-accent {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.green-accent {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.orange-accent {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.red-accent {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.white-accent {
    background: rgba(220, 53, 69, 0.2);
    color: cornsilk;
}

.active-card[class*="red-accent"] {
    border-left-color: #dc3545 !important;
}

.setting-card:hover .icon-box {
    transform: scale(1.1);
}

.arrow-icon {
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.setting-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Color Accents */
.blue-accent {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
}

.purple-accent {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

.green-accent {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.orange-accent {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
}

/*=======================*/

.settings-shell {
    min-height: calc(100vh - 140px);
    background: radial-gradient(1200px 500px at 20% 0%, rgba(13,110,253,.12), transparent 60%), radial-gradient(900px 450px at 90% 10%, rgba(32,201,151,.10), transparent 55%), var(--bs-body-bg);
}

.glass-card {
    background: color-mix(in srgb, var(--bs-body-bg) 80%, transparent);
    backdrop-filter: blur(8px);
}

.module-card {
    transition: transform .12s ease, box-shadow .12s ease;
}

    .module-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.10) !important;
    }

.icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--bs-primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--bs-primary) 20%, transparent);
}

    .icon-bubble i {
        font-size: 1.2rem;
    }

.btn-ghost {
    border: 1px solid transparent;
    background: transparent;
}

    .btn-ghost:hover {
        border-color: var(--bs-border-color);
        background: color-mix(in srgb, var(--bs-body-bg) 70%, transparent);
    }

.form-control:focus,
.btn:focus {
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.20) !important;
}

.bg-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-soft);
}

.custom-table {
    --bs-table-bg: transparent;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.02);
}

    .custom-table thead th {
        border-bottom: 1px solid var(--border-soft);
        letter-spacing: 0.05em;
    }

    .custom-table td {
        border-bottom: 1px solid var(--border-soft);
        padding: 1rem 0.5rem;
    }

/* Card Glow and Hover Effects */
.card {
    transition: transform 0.2s ease-in-out;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

/* Custom Scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #475569;
    }

/* Input Placeholder Color */
::placeholder {
    color: #64748b !important;
    opacity: 1;
}

/* Button Hover Scale */
.hover-effect:hover {
    transform: scale(1.1);
    background-color: rgba(220, 53, 69, 0.1);
}

