﻿.user-menu {
    width: 290px;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    margin-top: 12px;
    border: 1px solid #eef3fa;
    box-shadow: 0 18px 40px rgba(15,23,42,.12);
}

.user-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    background: linear-gradient(135deg,#2563EB,#3B82F6);
    color: #fff;
}

.user-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}

.user-info {
    text-align: right;
    flex: 1;
}

    .user-info h6 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    .user-info span {
        font-size: 13px;
        opacity: .9;
    }

.user-menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 22px;
    text-align: right;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    transition: .25s;
}

    .user-menu .dropdown-item i {
        width: 22px;
        text-align: center;
        color: #3B82F6;
        font-size: 18px;
    }

    .user-menu .dropdown-item:hover {
        background: #EFF6FF;
        color: #2563EB;
        padding-right: 28px;
    }

        .user-menu .dropdown-item:hover i {
            color: #2563EB;
        }

.logout-item {
    color: #DC2626 !important;
}

    .logout-item i {
        color: #DC2626 !important;
    }

    .logout-item:hover {
        background: #FEF2F2 !important;
        color: #B91C1C !important;
    }

.dropdown-divider {
    margin: 0;
}

/*.btn-login,
.btn-login:hover,
.btn-login:focus,
.btn-login:active,
.btn-login.show {
    transform: none !important;
    scale: 1 !important;
    padding: 12px 24px !important;
    border-color: inherit;
    box-shadow: none !important;
}*/


/* ===========================
   Login Button
=========================== */

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    background: #066FE4;
    color: #fff !important;
    border: none;
    outline: none;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

    /* Hover */
    .btn-login:hover {
        background: #0B7CF7;
        color: #fff !important;
    }

    /* Focus */
    .btn-login:focus {
        background: #066FE4;
        color: #fff !important;
        box-shadow: none;
        outline: none;
    }

    /* هنگام باز بودن Dropdown */
    .btn-login.show {
        background: #066FE4 !important;
        color: #fff !important;
        transform: none !important;
        scale: 1 !important;
        box-shadow: none !important;
        padding: 12px 24px !important;
        margin: 0 !important;
        border: none !important;
    }

    /* حذف فلش پیش فرض Bootstrap در صورت نیاز */
    .btn-login.dropdown-toggle::after {
        margin-right: 8px;
    }
.notification-menu {
    width: 330px;
    padding: 0;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
    margin-top: 15px;
    direction: rtl;
}

.notification-title {
    padding: 18px 22px;
    background: #066FE4;
    color: #fff;
    font-weight: 700;
}

.notification-menu .dropdown-item {
    padding: 14px 22px;
    transition: .25s;
    text-align: right;
}

    .notification-menu .dropdown-item:hover {
        background: #EFF6FF;
        color: #066FE4;
    }
.notification-btn {
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #066FE4;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
    transition: .25s ease;
    box-shadow: none !important;
    outline: none !important;
}

    .notification-btn:hover {
        background: #0B7CF7;
        color: #fff;
    }

    .notification-btn:focus,
    .notification-btn:focus-visible,
    .notification-btn:active,
    .notification-btn.show {
        background: #0B7CF7 !important;
        color: #fff !important;
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .notification-btn::after {
        display: none;
    }

    .notification-btn i {
        font-size: 20px;
    }

.btn-notification {
    position: relative;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EF4444;
    color: #fff;
    border-radius: 50px;
    border: 2px solid #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
}