html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nt-top-bar *,
.nt-top-header *,
.nt-main-header *,
.nt-main-header {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.nt-container {
    margin: auto;
}

.country-img {
    background: url("https://needtoday.com/themes/needtoday/imgs/ind-dash.png") no-repeat center center;
    background-size: contain;
}

.language-img {
    background: url("https://needtoday.com/themes/needtoday/imgs/english-dash.png") no-repeat center center;
    background-size: contain;
}

.seller-img {
    background: url("https://needtoday.com/themes/needtoday/imgs/seller-dash.png") no-repeat center center;
    background-size: contain;
}

.login-img {
    background: url("https://needtoday.com/themes/needtoday/imgs/login-dash.png") no-repeat center center;
    background-size: contain;
}

.nt-home .country-img {
    background: url("https://needtoday.com/themes/needtoday/imgs/ind.png") no-repeat center center;
    background-size: contain;
}

.nt-home .language-img {
    background: url("https://needtoday.com/themes/needtoday/imgs/english.png") no-repeat center center;
    background-size: contain;
}

.nt-top-bar .seller-img,
.nt-home .seller-img {
    background: url("https://needtoday.com/themes/needtoday/imgs/seller.png") no-repeat center center;
    background-size: contain;
}

.nt-home .login-img {
    background: url("https://needtoday.com/themes/needtoday/imgs/login.png") no-repeat center center;
    background-size: contain;
}

.img-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain !important;
}

.nt-top-header.nt-home {
    padding: 0 0;
    color: #FFFFFF;
    background-color: #5ab846;
}

.nt-top-header.nt-home .nt-link,
.nt-top-header.nt-home .nt-dropdown-button {
    color: #FFFFFF !important;
}

.nt-top-header.nt-home .nt-channels-dropdown .nt-dropdown-button {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-image: url("https://needtoday.com/themes/needtoday/imgs/home.png");
    padding-right: 26px;
}

.nt-top-header.nt-home .nt-dropdown-arrow {
    border-top: 4px solid #FFFFFF;
}

.nt-top-header.nt-home .nt-logo-nav-group {
    visibility: hidden;
}

.nt-main-header.nt-home {
    background-color: #FFFFFF;
}

/* Top Bar Styles */
.nt-top-bar {
    background: linear-gradient(90deg, #5ab846 0%, #4ca63b 100%);
    padding: 8px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.nt-top-bar .nt-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.nt-topbar-link {
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nt-topbar-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nt-topbar-dropdown {
    position: relative;
}

.nt-topbar-link-dropdown-button {
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.3s;
}

.nt-topbar-link-dropdown-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nt-topbar-dropdown.show .nt-topbar-dropdown-menu {
    display: block;
}

.nt-topbar-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 8px;
    z-index: 1000;
    min-width: 200px;
}

.nt-dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #FFFFFF;
    display: inline-block;
}

.nt-dropdown-item {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.nt-dropdown-item:hover {
    background: #f5f5f5;
}

/* Top Header Styles */
.nt-top-header {
    background: #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
}

.nt-top-header .nt-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 15px;
}

.nt-top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nt-logo-nav-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nt-nav-toggle {
    display: none;
    color: #333;
    text-decoration: none;
}

.nt-logo img {
    height: 40px;
    width: auto;
}

.nt-nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nt-dropdown {
    position: relative;
}

.nt-dropdown-button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: background-color 0.3s;
}

.nt-dropdown-button:hover {
    background: #f5f5f5;
}

.nt-dropdown.show .nt-dropdown-menu {
    display: block;
}

.nt-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 8px;
    z-index: 1000;
    min-width: 200px;
}

.nt-link {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nt-link:hover {
    background: #f5f5f5;
}

.nt-user-name {
    font-weight: 500;
}

/* Mobile Navigation */
.nt-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    z-index: 9999;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

.nt-mobile-nav li {
    list-style: none;
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .nt-top-bar {
        display: none;
    }

    .nt-nav-toggle {
        display: block;
    }

    .nt-nav-menu {
        display: none;
    }

    .nt-channels-dropdown,
    .nt-seller-dropdown {
        display: none;
    }
}

@media (min-width: 992px) {
    .nt-mobile-nav {
        display: none !important;
    }
}

/* Ensure no conflicts with existing realty styles */
.nt-top-bar,
.nt-top-header {
    position: relative;
    z-index: 100;
}
