/* 
 * See And Boss Vocens Top Bar Widget Styles
 * vocens.cloud
 */

/* Top Bar Right */
.sb-topbar-right {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Icon List */
.sb-topbar-icon-list-items {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.sb-topbar-icon-list-items.sb-topbar-inline-items {
    flex-direction: row;
}

.sb-topbar-icon-list-item {
    display: flex;
    align-items: center;
    position: relative;
}

.sb-topbar-icon-list-item:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 15px;
}

.sb-topbar-icon-list-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.sb-topbar-icon-list-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.sb-topbar-icon-list-item a:hover .sb-topbar-icon-list-icon i {
    color: #fff;
    transform: scale(1.1);
}

.sb-topbar-icon-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb-topbar-icon-list-icon i {
    color: #999;
    font-size: 16px;
    transition: all 0.3s ease;
}

.sb-topbar-icon-list-text {
    font-size: 13px;
    font-weight: 400;
}

/* Search Icon Special Style */
.sb-topbar-search-trigger {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sb-topbar-search-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sb-topbar-search-trigger:hover .sb-topbar-icon-list-icon i {
    color: #fff;
    transform: scale(1.1);
}

/* Language Dropdown */
.sb-topbar-language-dropdown {
    position: relative;
}

.sb-topbar-language-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.sb-topbar-language-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
}

.sb-topbar-language-dropdown.active .sb-topbar-language-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sb-topbar-language-dropdown-menu ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.sb-topbar-language-dropdown-menu li {
    margin: 0;
}

.sb-topbar-language-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    background: transparent;
    border-radius: 0;
}

.sb-topbar-language-dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #2a2a2a;
    padding-left: 25px;
}

.sb-topbar-language-dropdown-menu li a.active {
    background: linear-gradient(135deg, #505050 0%, #2a2a2a 100%);
    color: #fff;
}

.sb-topbar-language-dropdown-menu li a.active:hover {
    padding-left: 20px;
}

.sb-topbar-language-name {
    flex: 1;
    font-weight: 500;
}

.sb-topbar-language-code {
    font-size: 11px;
    color: #999;
    font-weight: 400;
    text-transform: uppercase;
}

.sb-topbar-language-dropdown-menu li a.active .sb-topbar-language-code {
    color: rgba(255, 255, 255, 0.7);
}

/* Search Modal */
.sb-topbar-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sb-topbar-search-modal.active {
    opacity: 1;
    visibility: visible;
}

.sb-topbar-search-modal-content {
    width: 100%;
    height: 300px;
    padding: 40px;
    background: #1a1a1a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-500px);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sb-topbar-search-modal.active .sb-topbar-search-modal-content {
    transform: translateY(0);
}

.sb-topbar-search-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 18px;
}

.sb-topbar-search-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.sb-topbar-search-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.sb-topbar-search-form {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.sb-topbar-search-input {
    width: 100%;
    padding: 18px 70px 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.sb-topbar-search-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(80, 80, 80, 0.3);
}

.sb-topbar-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.sb-topbar-search-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #505050 0%, #2a2a2a 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb-topbar-search-submit:hover {
    background: linear-gradient(135deg, #606060 0%, #3a3a3a 100%);
    box-shadow: 0 5px 20px rgba(80, 80, 80, 0.5);
    transform: translateY(-50%) scale(1.05);
}

/* Responsive */
@media (max-width: 480px) {
    .sb-topbar-icon-list-icon i {
        font-size: 14px;
    }

    .sb-topbar-search-modal-content {
        height: 400px;
        padding: 30px 20px;
    }

    .sb-topbar-search-modal-close {
        top: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .sb-topbar-search-modal-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .sb-topbar-search-input {
        font-size: 15px;
        padding: 16px 60px 16px 20px;
    }

    .sb-topbar-search-submit {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }
}
