/* profile-nav.css - стили для мини-профиля в меню аккаунта */

/* Секция мини-профиля в меню */

.profile-nav-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: linear-gradient(180deg, #101010 0%, #0c0c0c 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid #d7fe7b;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1),
                border-color .25s ease,
                box-shadow .25s ease;
}

.profile-nav-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(215, 254, 123, .07) 50%, transparent 100%);
    transform: translateX(-100%);
    pointer-events: none;
    transition: transform .8s ease;
}

.profile-nav-header:hover::before { transform: translateX(100%); }

.profile-nav-header:hover {
    transform: translateY(-2px);
    border-color: rgba(215, 254, 123, 0.28);
    border-left-color: #d7fe7b;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(215, 254, 123, .12),
        0 0 32px rgba(215, 254, 123, .06);
}

.profile-nav-avatar {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    transition: border-color .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}

.profile-nav-header:hover .profile-nav-avatar {
    border-color: rgba(215, 254, 123, 0.28);
    transform: scale(1.06);
}

.profile-nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-nav-error {
    font-size: 10px;
    display: flex;
    height: 90px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #929292;
}

.profile-nav-avatar-letter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    color: #d7fe7b;
}

.profile-nav-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-nav-name {
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.context-menu-hwid {
    background: #0e0e0e;
    border-bottom: 1px solid #2a2a2a;
    padding: 8px;
    gap: 8px;
    display: flex;
    flex-direction: column;
}

.profile-nav-hwid {
    font-size: 10px;
    color: #929292;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.profile-modal-close {
    position: absolute;
    border-radius: 3px;
    right: 3px;
    /* top: 3px; */
    height: 20px;
    width: 32px;
    padding: 2px 5px;
}

.profile-section.kps-section{
    display: none;
}
.profile-modal-close > svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff;
    transition: all 0.25s;
}

.profile-modal-close:hover {
    background: rgba(255, 0, 0, 0.15);
    color: #fff;
    border-color: rgba(255, 0, 0, 0.5);
}

/* Статус-бейджи */
.profile-nav-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    height: 25px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid transparent;
}

.profile-nav-badge svg {
    width: 10px;
    height: 10px;
}

.profile-nav-badge.active {
    background: rgba(215, 254, 123, 0.08);
    color: #d7fe7b;
    border-color: rgba(215, 254, 123, 0.28);
}

.profile-nav-badge.expired {
    background: rgba(255, 100, 100, 0.08);
    color: #ff8888;
    border-color: rgba(255, 100, 100, 0.25);
}

.profile-nav-badge.forever {
    background: rgba(215, 254, 123, 0.08);
    color: #d7fe7b;
    border-color: rgba(215, 254, 123, 0.28);
}

.profile-nav-badge.banned {
    background: rgba(255, 80, 80, 0.12);
    color: #ff6b6b;
    border-color: rgba(255, 80, 80, 0.35);
}

.profile-nav-badge.nolicense {
    background: rgba(255, 138, 84, 0.1);
    color: #ff8a54;
    border-color: rgba(255, 138, 84, 0.3);
}

/* Бейдж роли */
.profile-nav-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 10px;
    height: 25px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.nav-bt-title-hwid {
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text !important;
    font-weight: 600;
    background: linear-gradient(45deg, #b9b9b9, #d8d8d8);
}

.profile-nav-role.other {
    background: rgba(155, 155, 155, 0.08);
    color: #d2d2d2;
    border-color: rgba(155, 155, 155, 0.18);
}

.profile-nav-role.creator {
    background: rgba(255, 100, 150, 0.08);
    color: #ff99bb;
    border-color: rgba(255, 100, 150, 0.22);
}
.nav-bt-title-hwid.role-creator {
    background: linear-gradient(45deg, #ff70b7, #ffc4e7);
}

.profile-nav-role.admin {
    background: rgba(255, 180, 70, 0.08);
    color: #ffb347;
    border-color: rgba(255, 180, 70, 0.22);
}
.nav-bt-title-hwid.role-admin {
    background: linear-gradient(45deg, #ffd000, #faffb0);
}

.profile-nav-role.partner-rehvh {
    background: rgba(230, 127, 49, 0.1);
    color: #E68031;
    border-color: rgba(230, 127, 49, 0.25);
}
.nav-bt-title-hwid.role-partner-rehvh {
    background: linear-gradient(45deg, #ffb347, #ffecd2);
}

.profile-nav-role.manager {
    background: rgba(100, 200, 255, 0.08);
    color: #61edff;
    border-color: rgba(100, 200, 255, 0.22);
}
.nav-bt-title-hwid.role-manager {
    background: linear-gradient(45deg, #61edff, #caf7ff);
}

.profile-nav-role.partner {
    background: rgba(200, 140, 255, 0.08);
    color: #c88cff;
    border-color: rgba(200, 140, 255, 0.22);
}
.nav-bt-title-hwid.role-partner {
    background: linear-gradient(45deg, #be78ff, #efceff);
}

.profile-nav-role.media {
    background: rgba(255, 100, 100, 0.08);
    color: #ff8888;
    border-color: rgba(255, 100, 100, 0.22);
}
.nav-bt-title-hwid.role-media {
    background: linear-gradient(45deg, #ff5454, #ff9595);
}

.profile-nav-role.player {
    background: rgba(100, 255, 100, 0.08);
    color: #a7ff54;
    border-color: rgba(100, 255, 100, 0.22);
}
.nav-bt-title-hwid.role-player {
    background: linear-gradient(45deg, #2ec529, #c7ff93);
}

.profile-nav-role.banned {
    background: rgba(255, 50, 50, 0.1);
    color: #ff6666;
    border-color: rgba(255, 50, 50, 0.28);
}
.nav-bt-title-hwid.role-banned {
    background: linear-gradient(45deg, #ff8989, #ffd6d6);
}

/* Прогресс-бар подписки */
.profile-nav-progress {
    margin-top: 8px;
}

.profile-nav-progress-bar {
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
}

.profile-nav-progress-fill {
    height: 100%;
    background: #d7fe7b;
    width: 0%;
    transition: width 0.3s;
}

.profile-nav-progress-text {
    font-size: 10px;
    color: #929292;
    margin-top: 4px;
    text-align: right;
}

/* Секция быстрых действий */
.profile-nav-actions {
    padding: 5px 8px;
    border-top: 1px solid #303030;
    background: #000000;
}

.profile-nav-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 8px;
    background: #0a0a0a;
    border: 1px solid #303030;
    border-radius: 4px;
    color: #e0e0e0;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.profile-nav-action-btn svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
}

.profile-nav-action-btn:hover {
    background: rgba(215, 254, 123, 0.06);
    border-color: rgba(215, 254, 123, 0.28);
    color: #d7fe7b;
}

/* Разделитель */
.profile-nav-divider {
    height: 1px;
    background: #303030;
    margin: 5px 0;
}

/* Секция HWID информации (расширенная) */
.profile-nav-hwid-section {
    padding: 8px 10px;
    border-bottom: 1px solid #303030;
    background: #050505;
}

.profile-nav-hwid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 9px;
    color: #929292;
}

.profile-nav-hwid-code {
    font-family: monospace;
    font-size: 9px;
    background: #000;
    padding: 4px 6px;
    border-radius: 2px;
    word-break: break-all;
    color: #a6deff;
    border: 1px solid #303030;
}

.profile-nav-copy-btn {
    background: none;
    border: none;
    color: #929292;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 2px;
    font-size: 9px;
    transition: all 0.2s;
}

.profile-nav-copy-btn:hover {
    background: rgba(215, 254, 123, 0.06);
    color: #d7fe7b;
}

/* Секция бана в мини-профиле */
.profile-nav-ban-info {
    padding: 2px 5px;
    background: rgba(255, 50, 50, 0.1);
    border-radius: 2px;
    border-left: 3px solid #ff5757;
    font-size: 8px;
    color: #ffa3a3;
}

.profile-nav-status > div {
    display: flex;
    flex-direction: column;
    border-left: 3px solid rgba(215, 254, 123, 0.28);
    background: #101010;
    border-radius: 3px;
    padding: 8px;
    gap: 6px;
    color: #929292;
    font-size: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-row {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

/* Ранг игрока в карточке на главной */
.rank-badge {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
    padding-right: 5px;
    min-width: 40px;
    overflow: hidden;
    height: 18px;
    flex: none;
}

.rank-badge img {
    width: 50px;
    left: 0;
    position: absolute;
    height: 18px;
    max-width: none;
    display: block;
}

.rank-badge span {
    font-family: Stratum2, sans-serif;
    right: 0;
    transform: skewX(169deg);
    top: 0;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.admin_kills {
    background: #300000 !important;
}
.admin_kills > span {
    font-size: 13px;
    top: 1px;
    font-family: Stratum2, sans-serif;
    transform: skewX(169deg);
}