/* =========================================================== */
/* RPFGUIVoid - Стили для Character Profile System */
/* =========================================================== */

/* Основные стили RPFGUIVoid */
.void-profile-container {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #334155;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.void-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #334155;
}

.void-race-faction {
    display: flex;
    gap: 20px;
}

.void-race, .void-faction {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
}

.void-race i, .void-faction i {
    font-size: 24px;
}

.void-credits {
    text-align: center;
}

.void-credits i {
    font-size: 28px;
    color: #eab308;
    margin-bottom: 5px;
}

.void-credits span {
    font-size: 32px;
    font-weight: bold;
    color: #eab308;
    display: block;
    line-height: 1;
}

.void-credits-label {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 4px;
}

.void-metrics {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.void-metric {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    padding: 12px 15px;
}

.void-metric-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.void-metric-value {
    font-weight: bold;
    font-size: 16px;
}

.void-progress-bar {
    height: 8px;
    background: #334155;
    border-radius: 4px;
    overflow: hidden;
}

.void-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.void-transformation-warning {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #eab308;
}

.void-transformation-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.void-transformation-content i {
    font-size: 32px;
    color: #fbbf24;
}

.void-transformation-title {
    font-size: 18px;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 5px;
}

.void-section-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #475569;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.void-section-header i {
    color: #94a3b8;
}

/* Стили для мастерства */
.void-mastery-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.void-mastery-category {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    padding: 12px;
    border-left: 3px solid #3b82f6;
}

.void-mastery-category-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.void-mastery-count {
    background: #3b82f6;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 14px;
}

.void-mastery-items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.void-mastery-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #475569;
    color: #cbd5e1;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.void-mastery-item:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.void-mastery-info {
    font-size: 14px;
    color: #94a3b8;
    padding: 10px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 6px;
    margin-top: 10px;
}

/* Стили для достижений */
.void-achievements-list {
    display: grid;
    gap: 10px;
}

.void-achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    padding: 12px;
    transition: transform 0.2s;
}

.void-achievement-item:hover {
    transform: translateX(5px);
    background: rgba(30, 41, 59, 0.9);
}

.void-achievement-icon {
    font-size: 24px;
}

.void-achievement-info {
    flex: 1;
}

.void-achievement-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.void-achievement-description {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.void-achievement-code {
    font-size: 12px;
    color: #64748b;
    font-family: monospace;
}

.void-achievement-link {
    color: #60a5fa;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.void-achievement-link:hover {
    opacity: 1;
}

/* Стили для фракций */
.void-factions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.void-faction-item {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    padding: 12px;
    border-left: 4px solid #475569;
}

.void-faction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.void-faction-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.void-faction-trust {
    font-size: 20px;
    font-weight: bold;
    color: #10b981;
}

.void-faction-details {
    font-size: 14px;
}

.void-faction-level {
    font-weight: 600;
    margin-bottom: 5px;
    color: #eab308;
}

.void-faction-stats {
    display: flex;
    gap: 10px;
    color: #94a3b8;
}

.void-faction-boss-warning {
    margin-top: 10px;
    padding: 8px;
    background: rgba(220, 38, 38, 0.2);
    border-radius: 4px;
    color: #f87171;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.void-boss-encounters {
    margin-top: 20px;
}

.void-boss-encounter {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.void-boss-encounter i {
    font-size: 28px;
    color: #eab308;
}

.void-boss-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.void-boss-bonus {
    font-size: 14px;
    color: #94a3b8;
}

/* Стили для инвентаря */
.void-trade-balance {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.void-inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.void-inventory-item {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: transform 0.2s;
    cursor: help;
}

.void-inventory-item:hover {
    transform: scale(1.05);
    background: rgba(30, 41, 59, 0.9);
}

.void-inventory-item-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    border-radius: 6px;
    overflow: hidden;
    background: #475569;
}

.void-inventory-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.void-inventory-item-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.void-inventory-item-action {
    font-size: 11px;
    opacity: 0.8;
}

.void-inventory-subheader {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #cbd5e1;
}

.void-inventory-history-list {
    display: grid;
    gap: 8px;
}

.void-inventory-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 6px;
    font-size: 14px;
}

.void-inventory-history-name {
    flex: 1;
}

.void-inventory-history-action {
    margin: 0 15px;
    font-weight: 600;
    color: #94a3b8;
}

.void-inventory-history-price {
    color: #eab308;
    font-weight: 600;
}

/* Стили для социальных связей */
.void-social-status {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.void-social-status-icon {
    font-size: 32px;
}

.void-social-status-info {
    flex: 1;
}

.void-social-status-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.void-social-status-points {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.void-social-status-description {
    font-size: 14px;
    color: #94a3b8;
}

.void-social-categories {
    margin-bottom: 20px;
}

.void-social-subheader {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 10px;
    color: #cbd5e1;
}

.void-social-category {
    margin-bottom: 12px;
}

.void-social-category-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
}

.void-social-progress {
    height: 6px;
    background: #334155;
    border-radius: 3px;
    overflow: hidden;
}

.void-social-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 3px;
}

.void-social-category-percentage {
    text-align: right;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.void-social-characters {
    display: grid;
    gap: 15px;
}

.void-social-group {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    padding: 12px;
}

.void-social-group-title {
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #475569;
    color: #cbd5e1;
}

.void-social-character {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 4px;
    margin-bottom: 5px;
}

.void-social-character:last-child {
    margin-bottom: 0;
}

/* Стили для сигнатур */
.void-signatures-category {
    margin-bottom: 20px;
}

.void-signatures-category-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.buffs .void-signatures-category-header {
    color: #10b981;
}

.debuffs .void-signatures-category-header {
    color: #ef4444;
}

.void-signatures-list {
    display: grid;
    gap: 10px;
}

.void-signature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    padding: 12px;
}

.void-signature-icon {
    font-size: 24px;
}

.void-signature-info {
    flex: 1;
}

.void-signature-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.void-signature-code {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
    font-family: monospace;
}

.void-signature-effect {
    font-size: 14px;
    color: #cbd5e1;
}

.void-signature-status {
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    background: #10b981;
    color: white;
}

.debuff .void-signature-status {
    background: #ef4444;
}

/* Общие стили */
.void-empty-message {
    text-align: center;
    padding: 30px;
    color: #94a3b8;
}

.void-empty-message i {
    font-size: 32px;
    margin-bottom: 15px;
    opacity: 0.5;
}