/* style.css */

.glass-panel {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

table {
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    width: 100%;
}

.list-row {
    transition: all 0.2s ease-in-out;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.list-row td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.list-row td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.list-row:hover {
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.15) 0%, rgba(15, 23, 42, 0.4) 100%);
    transform: scale(1.005);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.25), inset 0 0 0 1px rgba(34, 211, 238, 0.5);
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.nav-active {
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.2);
    box-shadow: 0 0 15px -5px rgba(34, 211, 238, 0.4);
}

.glass-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.glass-input:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #22d3ee;
    outline: none;
}

.toast {
    transform: translateY(150%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-active { color: #22d3ee; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

select option { background: #0f172a; color: white; }

.auth-hidden { display: none; }

.animate-spin-slow { animation: spin 2s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- TEASER / LOCK STYLES --- */
.locked-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
    border-radius: 6px;
    vertical-align: middle;
}

.locked-blur {
    filter: blur(5px);
    user-select: none;
    opacity: 0.6;
    pointer-events: none;
}

.locked-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.4);
    transition: all 0.2s;
}

.locked-wrapper:hover .locked-btn { background: rgba(15, 23, 42, 0.1); }

.locked-badge {
    background: #06b6d4;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 99px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 4px;
    transform: scale(1);
    transition: transform 0.2s;
}

.locked-wrapper:hover .locked-badge { transform: scale(1.1); }

/* --- MONEY GLOW STYLES --- */
.shadow-glow-emerald { box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }
.text-shadow-sm { text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

/* --- AUTH MODAL FIX --- */
.auth-scroll-fix {
    max-height: 90vh !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: #22d3ee #0f172a;
}

/* Webkit scrollbar styling (Chrome/Safari) */
.auth-scroll-fix::-webkit-scrollbar { width: 8px; }
.auth-scroll-fix::-webkit-scrollbar-track { background: rgba(15, 23, 42, 0.5); border-radius: 4px; }
.auth-scroll-fix::-webkit-scrollbar-thumb { background-color: #22d3ee; border-radius: 4px; }

/* --- PREMIUM 3D AUTH STYLES --- */

/* The Main 3D Glass Box */
.premium-glass-card {
    background: rgba(15, 23, 42, 0.85); /* Dark blue-slate */
    backdrop-filter: blur(24px);         /* Strong blur */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle border */
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* BRIGHT TOP EDGE (The 3D Trick) */
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.2),      /* Crisp edge ring */
        0 20px 50px rgba(0, 0, 0, 0.5),    /* Deep drop shadow */
        0 0 100px rgba(34, 211, 238, 0.1); /* Ambient Cyan Glow */
}

/* The "Cut-In" Input Fields */
.premium-input {
    background: rgba(0, 0, 0, 0.3); /* Darker than the card */
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5); /* Inner Shadow (Depth) */
    transition: all 0.3s ease;
}

.premium-input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: #22d3ee; /* Cyan Glow on focus */
    box-shadow: 
        0 0 0 2px rgba(34, 211, 238, 0.2), /* Ring */
        inset 0 2px 4px rgba(0, 0, 0, 0.5); /* Keep inner shadow */
    outline: none;
}

/* The "Gem" Button */
.premium-btn-primary {
    background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%); /* Cyan to Sky Blue */
    color: #0f172a; /* Dark text */
    font-weight: 800;
    letter-spacing: 0.025em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3); /* Colored Shadow */
    transition: all 0.2s ease;
}

.premium-btn-primary:hover {
    transform: translateY(-2px); /* Lifts up physically */
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5); /* Shadow grows */
    filter: brightness(1.1);
}

.premium-btn-primary:active {
    transform: translateY(0px);
}
/* --- INTELLIGENCE HUB & NOTES STYLES (PREMIUM) --- */

/* Glowing Intelligence Indicator in Main Lists */
.intel-badge-glow {
    color: #22d3ee;
    filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.6));
    animation: intel-pulse 2s infinite;
}

@keyframes intel-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

/* The Private Note "Bubble" in the Saved Table */
.intel-note-bubble {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(34, 211, 238, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    font-style: italic;
    color: #cbd5e1; /* slate-300 */
    line-height: 1.6;
}

/* Standout styling for Intelligence Rows */
.intel-row {
    border-left: 3px solid #06b6d4 !important; /* Cyan vertical accent */
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.05) 0%, rgba(15, 23, 42, 0.4) 100%) !important;
}

/* Premium Hashtag Styling */
.intel-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: #22d3ee;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.intel-tag:hover {
    background: rgba(34, 211, 238, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 211, 238, 0.3);
}

/* Private Intelligence Textarea Styling */
#intel-note-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#intel-note-input:focus {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(34, 211, 238, 0.15);
}
