:root {
    /* Premium Light Theme Colors */
    --bg-color: #FAFAFA;
    --surface-color: #FFFFFF;
    --primary-text: #1F2937;
    --secondary-text: #6B7280;
    --border-color: #E5E7EB;
    --accent-teal: #10B981;
    --accent-hover: #059669;
    --input-bg: #F3F4F6;
    --input-text: #111827;
    --placeholder: #9CA3AF;
    --error-red: #EF4444;
    --success-green: #22C55E;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    background-color: var(--bg-color);
    color: var(--primary-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Sidebar & Navigation */
.sidebar {
    background-color: var(--surface-color);
    border-right: 1px solid var(--border-color);
    height: 100vh;
    position: sticky;
    top: 0;
}
.nav-link {
    color: var(--secondary-text);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    font-weight: 500;
}
.nav-link:hover {
    background-color: var(--input-bg);
    color: var(--primary-text);
}
.nav-link.active {
    background-color: #ecfdf5;
    color: var(--accent-teal);
}

/* Cards */
.card-premium {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-premium:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.post-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Inputs & Forms */
.form-control-premium {
    background-color: var(--input-bg);
    border: 1px solid transparent;
    color: var(--input-text);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}
.form-control-premium:focus {
    background-color: var(--surface-color);
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}
.form-control-premium::placeholder {
    color: var(--placeholder);
}

/* Buttons & Backgrounds */
.btn-primary-premium, .bg-primary-premium {
    background-color: var(--accent-teal);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
.btn-primary-premium:hover {
    background-color: var(--accent-hover);
    color: white;
}

/* Utilities */
.text-teal { color: var(--accent-teal) !important; }
.bg-teal { background-color: var(--accent-teal) !important; }

/* Loader Overlay */
.whirl-loader-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.whirl-loader-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--accent-teal);
}
.loader-msg {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-text);
}

/* Comments */
.comment-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}
.comment-item:last-child {
    border-bottom: none;
}
.profile-avatar {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    overflow: hidden;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
