﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.devsal-career-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1000px;
    width: 100%;
    margin: auto;
    background: transparent;
    border-radius: 12px;
    padding: 15px;
    flex: 1;
}

.devsal-tab-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

    .devsal-tab-bar::-webkit-scrollbar {
        display: none;
    }

.devsal-tab {
    flex: 1 0 auto;
    min-width: 100px;
    text-align: center;
    background-color: #e3e8ee;
    padding: 12px 5px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s;
    user-select: none;
    white-space: nowrap;
    color: #333;
}

[data-theme="dark"] .devsal-tab {
    background-color: #252525;
    color: #d0d0d0;
}

.devsal-tab.active {
    background-color: #007bff;
    color: white;
}

[data-theme="dark"] .devsal-tab.active {
    background-color: #1e90ff;
    color: #fff;
}

.devsal-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

    .devsal-tab-content.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.devsal-stats-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.devsal-stat-item {
    flex: 1 1 calc(25% - 10px);
    min-width: 120px;
    background: #f5f7fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 5px;
    font-size: 0.9rem;
    text-align: center;
}

[data-theme="dark"] .devsal-stat-item {
    background: #252525;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.devsal-stat-value {
    font-weight: bold;
    color: #222;
    font-size: 1.2rem;
}

[data-theme="dark"] .devsal-stat-value {
    color: #e0e0e0;
}

.devsal-stat-label {
    color: #6c757d;
    font-size: 0.75rem;
    margin-top: 4px;
}

[data-theme="dark"] .devsal-stat-label {
    color: #a0a0a0;
}

.devsal-chart-container {
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.devsal-chart-wrapper {
    height: 250px;
    padding: 10px 0;
    position: relative;
}

.devsal-chart-title {
    text-align: center;
    color: #0077b6;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

[data-theme="dark"] .devsal-chart-title {
    color: #4da8ff;
}

@media (max-width: 768px) {
    .devsal-stat-item {
        flex: 1 1 calc(50% - 10px);
    }

    .devsal-tab {
        padding: 10px 5px;
        font-size: 0.85rem;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .devsal-chart-wrapper {
        height: 220px;
    }

    .devsal-stat-item {
        flex: 1 1 100%;
    }

    .devsal-tab {
        min-width: 70px;
        font-size: 0.8rem;
        padding: 8px 3px;
    }
}

@media (min-width: 1200px) {
    .devsal-chart-wrapper {
        height: 300px;
    }
}