/* Header Authentication Styles */
.header-auth {
    text-align: right;
    padding: 0px 0px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.header-auth a {
    line-height: 27px;
    display: inline-block;
    color: #d6d8e0;
    padding: 15px 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-auth a:hover {
    color: #ffffff;
    text-decoration: none;
}

.header-auth a i {
    font-size: 14px;
    margin-right: 6px;
}

.header-auth .dropdown {
    position: relative;
}

.header-auth .dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.header-auth .dropdown-toggle::after {
    display: none;
}

.header-auth .dropdown-menu {
    position: absolute;
    top: 60%;
    right: 0;
    left: auto;
    z-index: 1000;
    min-width: 180px;
    padding: 8px 0;
    margin: 8px 0 0;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.header-auth .dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    clear: both;
    font-weight: 400;
    color: #333;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
}

.header-auth .dropdown-item:hover {
    color: #ffffff;
    background-color: #000000;
}

.header-auth .dropdown-item i {
    margin-right: 8px;
    width: 14px;
    text-align: center;
}

.header-auth .dropdown-divider {
    height: 0;
    margin: 8px 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-auth {
        justify-content: center;
        text-align: center;
        padding: 10px 0;
        gap: 10px;
    }
    
    .header-auth a {
        font-size: 13px;
        padding: 0px 6px;
    }
    
    .header-auth .dropdown-menu {
        min-width: 160px;
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 480px) {
    .header-auth {
        flex-direction: column;
        gap: 8px;
        padding: 8px 0;
    }
    
    .header-auth a {
        font-size: 12px;
    }
}