@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--primary-bg);
    color: var(--text-color);
    overflow-x: hidden;
}
:root {
    --primary-bg: #1a202c;
    --secondary-bg: #2d3748;
    --sidebar-bg: #232a3b;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --text-color: #e4e4e7;
    --text-secondary: #a1a1aa;
    --border-color: #4a5568;
    --accent-glow: rgba(99, 102, 241, 0.3);
}
header, .subscription-page-background header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #1a202c !important;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}
nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.subscription-page-background nav a {
    color: var(--text-secondary);
}

.subscription-page-background nav a:hover {
    color: var(--text-color);
}
.user-profile {
    display: inline-flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    color: #f0f2f5; /* Light text color */
}

.user-info .fa-user-circle {
    color: #8a84ff; /* Lighter purple for the icon */
    font-size: 1.4em;
}

.user-info .username-link {
    color: #ffffff;
    text-decoration: none;
    margin: 0 12px 0 5px;
    font-weight: 500;
    font-size: 1em;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
}

.user-info .username-link:hover {
    color: #8a84ff; /* Lighter purple on hover */
    background-color: rgba(138, 132, 255, 0.1);
}

.btn-logout {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    border: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.btn-logout:hover {
    background-color: #5a54d8; /* Slightly darker purple on hover */
}

.btn-logout .fas {
    margin-right: 6px;
}

/* Removing unused dropdown styles */
.dropdown-menu,
.user-profile .dropdown-menu.active {
    display: none;
}

/* Footer Styles */
.site-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    color: #f0f2f5;
    font-size: 0.9em;
}

.site-footer p {
    margin: 0;
}

.footer-link {
    color: #8a84ff;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-link:hover {
    background-color: #8a84ff;
    color: #ffffff;
    text-decoration: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 70px;
}

.admin-link {
    margin-right: 15px;
    color: #a1a1aa;
    font-size: 1.5em;
    transition: color 0.3s;
}

.admin-link:hover {
    color: #6366f1;
}
