﻿.tc-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

    .tc-header.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

        .tc-header.scrolled .tc-username {
            color: #333;
        }

        .tc-header.scrolled .tc-logout-icon {
            color: #333;
        }

        .tc-header.scrolled .center-nav-links .nav-link {
            color: #333;
            border-color: #0976cc;
        }

            .tc-header.scrolled .center-nav-links .nav-link:hover {
                background-color: #e3f2fd;
                color: #1976d2;
            }

.tc-header-wrapper {
    display: block;
}

.center-nav-links {
    position: absolute;
    left: 65%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    align-items: end;
    margin-right: 20px;
    z-index: 10;
}

    .center-nav-links .nav-link {
        text-decoration: none;
        padding: 3px 16px;
        border-radius: 20px;
        border: 1px solid #0976cc;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
    }

        .center-nav-links .nav-link[href*="Home"]::before {
            content: "●";
            color: #007bff;
            font-size: 12px;
        }

        .center-nav-links .nav-link[href*="Subscriptions"]::before {
            content: "●";
            color: #0976cc;
            font-size: 12px;
        }

        .center-nav-links .nav-link:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            background-color: rgba(255, 255, 255, 0.1);
        }

        .center-nav-links .nav-link.active {
            background-color: #e3f2fd;
            border-color: #90caf9;
            color: #1976d2 !important;
        }

.mobile-nav-links {
    display: none !important;
}

.user-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #0976cc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .user-avatar:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        background-color: #085a9e;
        color: white;
        text-decoration: none;
    }

    .user-avatar:focus {
        outline: 2px solid #ffffff;
        outline-offset: 2px;
    }

.navbar-user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #0976cc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .navbar-user-avatar:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
        background-color: #085a9e;
        color: white;
        text-decoration: none;
    }

    .navbar-user-avatar:focus {
        outline: 2px solid #ffffff;
        outline-offset: 2px;
    }

.tc-auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-auth-section {
    display: flex;
    align-items: center;
}

.tc-header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 100px;
}

.tc-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .tc-logo-section img {
        height: 70px;
        width: auto;
        transition: all 0.3s ease;
    }

.tc-header.scrolled .tc-logo-section img {
    height: 60px;
}

.tc-powered-by {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 400;
}

.tc-username {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.tc-sign-in-btn {
    background: #0976cc;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .tc-sign-in-btn:hover {
        background: #0056b3;
        color: white;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.tc-logout-icon {
    color: black;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .tc-logout-icon:hover {
        opacity: 0.7;
        color: #fff;
        transform: scale(1.1);
    }

.tc-header.scrolled .tc-logout-icon:hover {
    color: #333;
}

body {
    padding-top: 80px;
    background: white;
}

.navbar.cm-top-nav-bar {
    display: none;
}

.nav-scroller.cm-menu-bar {
    margin-top: 0;
    border: none;
    background: white;
}

    .nav-scroller.cm-menu-bar .nav-link {
        color: #333;
        font-weight: 500;
        border: none;
    }

        .nav-scroller.cm-menu-bar .nav-link:hover {
            color: #0976cc;
        }

.container.pb-3 {
    margin-top: 0;
    background: transparent;
}

.cm-footer {
    background: white;
    border: none;
    padding: 30px 0;
    margin-top: 60px;
    color: #6c757d;
}

.shadow-sm {
    box-shadow: none !important;
}

main {
    background: transparent;
}

.tc-main-title {
    font-family: "Urbanist", sans-serif;
    line-height: 140%;
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000000;
    position: relative;
}

.tc-subtitle {
    font-family: "Assistant", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #525152;
    line-height: 1.6;
    margin: 0;
}

.tc-feature-title {
    font-family: "Fira Sans Extra Condensed", sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #525152;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .tc-header {
        padding: 12px 0 !important;
    }

        .tc-header.scrolled {
            background: white !important;
            padding: 10px 0 !important;
        }

    .tc-header-wrapper {
        display: flex !important;
        flex-direction: column !important;
    }

    .tc-header-content {
        padding: 0 15px !important;
        width: 100%;
    }

    .tc-logo-section img {
        height: 45px !important;
    }

    .tc-header.scrolled .tc-logo-section img {
        height: 40px !important;
    }

    .user-avatar {
        width: 45px !important;
        height: 45px !important;
        font-size: 14px !important;
    }

    .tc-sign-in-btn {
        padding: 8px 20px !important;
        font-size: 0.8rem !important;
    }

    .center-nav-links {
        display: none !important;
    }

    .mobile-nav-links {
        display: flex !important;
        justify-content: center !important;
        gap: 15px !important;
        padding: 12px 15px 8px 15px !important;
        border-top: 1px solid #e9ecef !important;
        background: white !important;
    }

    .mobile-nav-link {
        text-decoration: none !important;
        padding: 8px 20px !important;
        border-radius: 20px !important;
        border: 1px solid #0976cc !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        position: relative !important;
        color: #0976cc !important;
        background: white !important;
    }

        .mobile-nav-link[href*="Home"]::before {
            content: "●" !important;
            color: #007bff !important;
            font-size: 12px !important;
        }

        .mobile-nav-link[href*="Subscriptions"]::before {
            content: "●" !important;
            color: #0976cc !important;
            font-size: 12px !important;
        }

        .mobile-nav-link:hover {
            transform: translateY(-1px) !important;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
            background-color: #e3f2fd !important;
            color: #1976d2 !important;
            text-decoration: none !important;
        }

        .mobile-nav-link.active {
            background-color: #e3f2fd !important;
            border-color: #90caf9 !important;
            color: #1976d2 !important;
        }

    body {
        padding-top: 120px !important;
    }

    .nav-scroller.cm-menu-bar {
        display: none !important;
    }

    .tc-username {
        color: #333 !important;
    }

    .tc-logout-icon {
        color: #333 !important;
    }
}

@media (max-width: 576px) {
    .tc-header {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        padding: 12px 0 !important;
    }

        .tc-header.scrolled {
            background: white !important;
            padding: 8px 0 !important;
        }

    .tc-header-wrapper {
        display: flex !important;
        flex-direction: column !important;
    }

    .tc-header-content {
        padding: 0 15px !important;
        width: 100%;
    }

    .tc-logo-section img {
        height: 50px !important;
    }

    .user-avatar {
        width: 40px !important;
        height: 40px !important;
        font-size: 13px !important;
    }

    .tc-sign-in-btn {
        padding: 8px 20px !important;
        font-size: 0.8rem !important;
    }

    .center-nav-links {
        display: none !important;
    }

    .mobile-nav-links {
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
        padding: 10px 15px 6px 15px !important;
        border-top: 1px solid #e9ecef !important;
        background: white !important;
    }

    .mobile-nav-link {
        padding: 6px 16px !important;
        font-size: 13px !important;
    }

    body {
        padding-top: 110px !important;
    }

    .nav-scroller.cm-menu-bar {
        display: none !important;
    }

    .tc-main-title {
        font-size: 48px !important;
        line-height: 1.2 !important;
    }

    .tc-subtitle {
        font-size: 20px !important;
    }

    .tc-feature-title {
        font-size: 20px !important;
    }
}

@media (min-width: 769px) {
    .tc-header {
        background-color: transparent;
        padding: 15px 0;
    }

        .tc-header.scrolled {
            background-color: white;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }

    .tc-header-wrapper {
        display: block;
    }

    .mobile-nav-links {
        display: none !important;
    }

    .center-nav-links {
        display: flex !important;
    }

    body {
        padding-top: 80px;
    }
}

@media (min-width: 1200px) {
    .tc-header-content {
        padding: 0 90px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .tc-header-content {
        padding: 0 40px;
    }

    .center-nav-links {
        left: 60%;
    }

    .tc-logo-section img {
        height: 60px;
    }

    .user-avatar {
        width: 55px;
        height: 55px;
        font-size: 15px;
    }
}


.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-initial-circle {
    width: 62px;
    height: 62px;
    background-color: #0976CC;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    font-family: 'Urbanist', sans-serif;
}

.icon-left {
    width: 24px;
    height: 24px;
}


.user-dropdown-menu {
    position: absolute;
    top: 78px;
    right: -20px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    width: 300px;
    padding: 20px 18px;
    z-index: 1000;
    display: none;
    font-family: 'Urbanist', sans-serif;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
}

.user-initial-circle-lg {
    width: 62px;
    height: 62px;
    background-color: #0976CC;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.user-name {
    font-weight: 600;
    font-size: 16px;
    color: #000;
}

.user-email {
    font-size: 13px;
    color: #777;
}

.dropdown-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 14px 0;
}

.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 17px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.dropdown-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item i {
    color: #000;
    font-size: 24px;
}

.dropdown-item img.icon-rigth {
    width: 6px;
    height: 12px;
    opacity: 0.6;
}

.dropdown-item:hover {
    background-color: #F9FAFB;
}

.notification-status {
    font-size: 13px;
    font-weight: 500;
}
