/* KOOLA'S TECH - Luxury Black & Gold Theme */

:root {
    --primary-gold: #FFD700;
    --gold-light: #FFED4E;
    --gold-dark: #DAA520;
    --bg-black: #0A0A0A;
    --bg-dark: #1A1A1A;
    --bg-card: #222222;
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --accent-red: #FF4444;
    --accent-green: #44FF44;
    --accent-blue: #4444FF;
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    --shadow-gold-strong: 0 0 30px rgba(255, 215, 0, 0.6);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-black) 0%, #1a1a1a 100%);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
.luxury-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(255, 215, 0, 0.05), transparent 50%),
                radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.03), transparent 50%);
    z-index: -1;
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.luxury-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--shadow-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--primary-gold));
    color: var(--bg-black);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    box-shadow: var(--shadow-gold-strong);
    transform: translateY(-2px);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-gold:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--bg-black);
    box-shadow: var(--shadow-gold);
}

.btn-dark {
    background: var(--bg-card);
    color: var(--text-white);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.btn-dark:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

/* Cards */
.luxury-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.luxury-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: var(--shadow-gold), 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* Inputs */
.luxury-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.luxury-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.luxury-input::placeholder {
    color: var(--text-gray);
}

/* Select Dropdown */
.luxury-select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.luxury-select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

/* Tables */
.luxury-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
}

.luxury-table thead {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
}

.luxury-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.luxury-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.luxury-table tbody tr {
    transition: var(--transition-smooth);
}

.luxury-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--primary-gold));
    color: var(--bg-black);
}

.badge-success {
    background: var(--accent-green);
    color: var(--bg-black);
}

.badge-danger {
    background: var(--accent-red);
    color: var(--text-white);
}

.badge-warning {
    background: #FFA500;
    color: var(--bg-black);
}

.badge-info {
    background: var(--accent-blue);
    color: var(--text-white);
}

.badge-secondary {
    background: var(--text-gray);
    color: var(--bg-black);
}

/* Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background: var(--bg-dark);
    border-right: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
}

.sidebar-logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-menu {
    padding: 20px 0;
}

.nav-item {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    border-left-color: var(--primary-gold);
}

.nav-item i {
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 30px;
    min-height: 100vh;
}

.top-bar {
    background: var(--bg-card);
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: var(--shadow-gold);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
    transition: var(--transition-smooth);
}

.stat-card:hover::after {
    top: -30%;
    right: -30%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 10px 0;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--bg-dark);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: var(--shadow-gold-strong);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s;
}

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

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Loading Spinner */
.loader {
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    padding: 20px 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
    box-shadow: var(--shadow-gold-strong);
    z-index: 3000;
    animation: slideInRight 0.3s;
    max-width: 400px;
}

@keyframes slideInRight {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification.success {
    border-left-color: var(--accent-green);
}

.notification.error {
    border-left-color: var(--accent-red);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .luxury-title {
        font-size: 1.8rem;
    }

    .top-bar {
        flex-direction: column;
        gap: 15px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-dark), var(--primary-gold));
    border-radius: 5px;
}

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

/* Glow Effect */
.glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-dark);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--primary-gold));
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Chat Bubble */
.chat-bubble {
    padding: 12px 18px;
    border-radius: 15px;
    margin-bottom: 10px;
    max-width: 70%;
}

.chat-bubble.sent {
    background: linear-gradient(135deg, var(--gold-dark), var(--primary-gold));
    color: var(--bg-black);
    margin-left: auto;
}

.chat-bubble.received {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--primary-gold); }
.text-gray { color: var(--text-gray); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.w-100 { width: 100%; }
