/**
 * Auth Menu Styles
 */

/* Auth Buttons - Guest */
.auth-buttons {
    display: flex;
    align-items: center;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn {
    background: #fff;
    color: #132507;
}

.login-btn:hover {
    transform: translateY(-2px);
    color: #27450b;
}
}

.auth-icon {
    width: 20px;
    height: 20px;
    fill: rgb(255 255 255);
}

/* User Account Menu */
.user-account-menu {
    position: relative;
}

.account-dropdown {
    position: relative;
}

.account-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #F1F1F1;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
	font-size: 16px;
}

.account-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Submenu */
.account-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.account-dropdown.active .account-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-item {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f3f4;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item:hover {
    background: #fea004;
    color: #667eea;
}

.submenu-item.logout-trigger {
    color: #dc3545;
}

.submenu-item.logout-trigger:hover {
    background: #fff5f5;
    color: #dc3545;
}

/* Logout Popup */
.log__outPP-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.log__outPP-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.log__outPP-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.log__outPP-close:hover {
    background: #f1f3f4;
}

.log__outPP-header h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #333;
}

.log__outPP-content {
    text-align: center;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.log__outPP-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.log__outPP-cancel,
.log__outPP-confirm {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.log__outPP-cancel {
    background: #f1f3f4;
    color: #333;
}

.log__outPP-cancel:hover {
    background: #e9ecef;
}

.log__outPP-confirm {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.log__outPP-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* RTL Support */
[dir="rtl"] .account-submenu {
    left: 0;
    right: auto;
}

[dir="rtl"] .log__outPP-close {
    left: auto;
    right: 16px;
}