/**
 * EVE ESI Manager - Character Profile Styles
 * @since 1.0.0
 */

/* Character Profile Container */
.eve-character-profile {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Character Header */
.character-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.character-portrait img {
    width: 128px;
    height: 128px;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.character-info h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #23282d;
}

.character-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.corp-logo,
.alliance-logo {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

/* Verification Status */
.verification-status {
    background: #f7f7f7;
    border-left: 4px solid #999;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.verification-status.clean {
    background: #e7f5e7;
    border-left-color: #4caf50;
}

.verification-status.minor {
    background: #fff8e1;
    border-left-color: #ffc107;
}

.verification-status.moderate {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.verification-status.severe {
    background: #ffebee;
    border-left-color: #f44336;
}

.verification-status.unknown {
    background: #f0f0f0;
    border-left-color: #999;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.verification-status.clean .status-badge {
    background: #4caf50;
    color: white;
}

.verification-status.minor .status-badge {
    background: #ffc107;
    color: #333;
}

.verification-status.moderate .status-badge {
    background: #ff9800;
    color: white;
}

.verification-status.severe .status-badge {
    background: #f44336;
    color: white;
}

.verification-status.unknown .status-badge {
    background: #999;
    color: white;
}

.risk-score {
    font-size: 14px;
    font-weight: bold;
    color: #666;
}

.verification-flags {
    margin: 15px 0;
}

.verification-flags h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #666;
}

.verification-flags ul {
    margin: 0;
    padding-left: 20px;
}

.verification-flags li {
    margin: 5px 0;
    color: #333;
    font-size: 14px;
}

.verification-date {
    margin: 10px 0 0 0;
    font-size: 12px;
    color: #999;
}

/* Statistics Section */
.character-stats h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #23282d;
}

/* Tab Navigation */
.stats-tabs {
    margin-top: 20px;
}

.tab-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.tab-nav li {
    margin: 0;
}

.tab-nav a {
    display: block;
    padding: 12px 24px;
    text-decoration: none;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
}

.tab-nav a:hover {
    color: #0073aa;
    background: #f7f7f7;
}

.tab-nav a.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Stats Grid */
.pvp-stats-grid,
.pve-stats-grid,
.mining-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-box {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.stat-box:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #23282d;
}

/* Favorite Ship/Ore/System */
.favorite-ship,
.favorite-ore,
.favorite-system {
    background: #f7f7f7;
    border-left: 4px solid #0073aa;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.favorite-ship h4,
.favorite-ore h4,
.favorite-system h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #0073aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.favorite-ship p,
.favorite-ore p,
.favorite-system p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .character-header {
        flex-direction: column;
        text-align: center;
    }

    .character-info p {
        justify-content: center;
    }

    .pvp-stats-grid,
    .pve-stats-grid,
    .mining-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .tab-nav {
        flex-wrap: wrap;
    }

    .tab-nav a {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .character-portrait img {
        width: 96px;
        height: 96px;
    }

    .character-info h2 {
        font-size: 22px;
    }

    .pvp-stats-grid,
    .pve-stats-grid,
    .mining-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 20px;
    }
}
