:root {
    --primary: #4f46e5;
    /* Indigo 600 */
    --primary-hover: #4338ca;
    /* Indigo 700 */
    --secondary: #0f172a;
    /* Slate 900 */
    --accent: #0ea5e9;
    /* Sky 500 */
    --background: #f5f5f4;
    /* Slate 50 */
    --surface: #ffffff;
    --text-main: #334155;
    /* Slate 700 */
    --text-muted: #64748b;
    /* Slate 500 */

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Roboto', system-ui, sans-serif;
}

body {
    font-family: var(--font-sans) !important;
    background-color: var(--background) !important;
    color: var(--text-main) !important;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    color: var(--secondary) !important;
}

/* Glassmorphism utility */
.bg-glass {
    background: rgba(184, 230, 254, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Premium Header styling */
.premium-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: var(--shadow-sm);
}

.premium-logo-text {
    color: var(--secondary);
    font-weight: 800;
}

.premium-nav-link {
    font-weight: 500;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.premium-nav-link:hover {
    color: var(--primary);
    background-color: rgba(79, 70, 229, 0.05);
}

.premium-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white !important;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.premium-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

/* Premium Cards */
.premium-card {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.1);
}

.premium-section-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    border-bottom: 2px solid rgba(79, 70, 229, 0.08);
}

.premium-main-title {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
    margin-bottom: 2.5rem;
}

.premium-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Footer Styling */
.premium-footer {
    background-color: var(--secondary);
    color: white;
}

.premium-footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.premium-footer a:hover {
    color: white;
}

/* Custom Container */
.premium-container {
    width: 100%;
    max-width: 100rem;
    padding: 0.35rem 1rem;
    margin-left: auto;
    margin-right: auto;
}

/* Auth Cards */
.premium-card-dark {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    /* background-color: #3e5fbb; */
    color: white;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(11, 55, 96, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-card-dark:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(11, 55, 96, 0.25);
}

.premium-card-dark a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.premium-card-dark a:hover {
    text-decoration: underline;
}

.premium-card-light {
    background-color: white;
    color: var(--secondary);
    border-radius: 28px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-card-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.premium-card-light a {
    color: #0b5ed7;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.premium-card-light a:hover {
    text-decoration: underline;
}

.icon-box-dark {
    background-color: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.icon-box-light {
    background-color: #f0f6ff;
    color: #0b5ed7;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 2rem;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Notifications */
.notification {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.notification:last-child {
    border-bottom: none;
}

.notification::before {
    content: "";
    margin-top: 0.5rem;
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

.notification.notification-new::before {
    background-color: #dc3545;
    /* Danger Red */
}

.notification.notification-secondary::before {
    background-color: var(--secondary);
    /* Gray */
}

.notification-content {
    display: flex;
    flex-direction: column;
}

.notification-title {
    margin: 0 0 0.25rem 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Automatically add NEW badge for notification-new */
.notification.notification-new .notification-title::after {
    content: "NEW";
    font-size: 10px;
    font-weight: 700;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 0.2em 0.6em;
    border-radius: 50rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.notification-desc {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.25;
}

.notification-link {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary);
}

.notification-link:hover {
    text-decoration: underline;
}