@charset "utf-8";

@import "shortcodes/custom-nav.css";
@import "shortcodes/social-icons.css";

.dt-header-force-fullwidth {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
}


.dt-header-account {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.dt-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: inherit;
    font-size: 18px;
    height: 100%;
    transition: color 0.3s ease;
}
.dt-account-icon:hover {
    opacity: 0.8;
}
.dt-account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: none;
    border-radius: 4px;
    min-width: 200px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: left;
    overflow: hidden;
    margin-top: 10px;
}

.dt-account-dropdown:before {
    content: '';
    position: absolute;
    top: -6px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0,0,0,0.05);
    z-index: -1;
}
.dt-header-account:hover .dt-account-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dt-header-account:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}
.dt-account-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}
.dt-account-dropdown li {
    margin: 0;
    padding: 0;
    border: none;
}
.dt-account-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.dt-account-dropdown li a:hover {
    background: #f8f9fa;
    color: #333;
    border-left-color: #333; 
    padding-left: 25px; 
}


@media only screen and (max-width: 991px) {
    .dt-header-account {
        display: inline-block; 
        margin: 0;
        position: relative; 
    }
    .dt-account-icon {
        display: inline-flex;
        width: auto;
        height: auto;
        background: transparent; 
        border-radius: 0;
        padding: 0 10px; 
    }
    .dt-account-dropdown {
        position: absolute;
        width: 200px; 
        right: 0; 
        top: 100%;
        margin-top: 10px;
        background: #ffffff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        display: block;
        z-index: 99999; 
        border-radius: 4px;
    }
    

    .dt-header-account:hover .dt-account-dropdown,
    .dt-header-account:focus-within .dt-account-dropdown,
    .dt-header-account.open .dt-account-dropdown {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }


    .dt-account-dropdown:before {
        display: block;
        content: '';
        position: absolute;
        top: -6px;
        right: 15px;
        width: 12px;
        height: 12px;
        background: #ffffff;
        transform: rotate(45deg);
        box-shadow: -2px -2px 5px rgba(0,0,0,0.05);
        z-index: -1;
    }

    .dt-account-dropdown li a {
        padding: 10px 15px;
        border-left: 3px solid transparent;
        border-bottom: 1px solid #f5f5f5;
        color: #555;
    }
    .dt-account-dropdown li a:hover {
        padding-left: 20px;
        background: #f8f9fa;
        color: #333;
        border-left-color: #333;
    }
}
