* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background-color: #1e1e1e;
    color: #d4d4d4;
    overflow-y: auto;
}

.container-wrapper {
    position: relative;
    width: 100%;
    max-width: 2160px;
    height: 100%;
    margin: 0 auto;
}

.container {
    display: flex;
    height: 100%;
    max-height: calc(100% - 24.5px);
}

.action-section {
    display: flex;
}

.external-link-action {
    width: 100%;
}

.sidebar {
    width: 48px;
    background-color: #323233;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-item {
    width: 100%;
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #9ca3af;
}

.sidebar-item:hover {
    background-color: #2a2d2e;
}

.sidebar-item:hover svg {
    filter: brightness(2);
}

.sidebar-item.active {
    background-color: #37373d;
    border-left: 2px solid #007acc;
}

.file-explorer {
    width: 256px;
    background-color: #252526;
    border-right: 1px solid #323233;
    font-family: Arial, Helvetica, sans-serif;
}

.explorer-header {
    padding: 12px;
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #323233;
}

.explorer-content {
    padding: 8px;
}

.folder-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.file-list {
    margin-left: 16px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
    color: #d1d5db;
}

.file-item:hover {
    background-color: #2a2d2e;
}

.file-item.active {
    background-color: #094771;
    color: white;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tab-bar {
    background-color: #2d2d30;
    display: flex;
}

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 12px;
    font-size: 14px;
    cursor: pointer;
    border-right: 2px solid #3c3c3d;
    transition: background-color 0.2s;
    position: relative;
    background-color: #2d2d30;
    color: #9ca3af;
    font-family: Arial, Helvetica, sans-serif;
}

.tab:hover {
    background-color: #323233;
}

.tab.active {
    background-color: #1e1e1e;
    color: white;
}

.tab.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-bottom: 0;
    background-color: #0684d9;
}

.content-area {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
}

.line-numbers {
    color: #6b7280;
    font-size: 14px;
    font-family: 'Consolas', monospace;
    padding-right: 16px;
    user-select: none;
    line-height: 1.5;
    white-space: break-spaces;
}

.code-content {
    flex: 1;
    font-family: 'Consolas', monospace;
    line-height: 1.5;
    white-space: break-spaces;
}

.keyword {
    color: #569cd6;
}

.string {
    color: #ce9178;
}

.property {
    color: #9cdcfe;
}

.comment {
    color: #6a9955;
}

.punctuation {
    color: #d4d4d4;
}

.operator {
    color: #d4d4d4;
}

.bracket {
    color: #ffd700;
}

.status-bar {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #007acc;
    padding: 4px 16px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.status-left,
.status-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 12px 0;
}

.skill-name {
    width: 96px;
    font-size: 14px;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background-color: #374151;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    position: absolute;
    top: 0;
}

.skill-percentage {
    display: none;
    color: #9ca3af;
    font-size: 14px;
}

.experience-item {
    border-left: 2px solid #3b82f6;
    padding-left: 16px;
    margin: 24px 0;
}

.experience-item:nth-child(even) {
    border-left-color: #10b981;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #1f2937;
    border-radius: 8px;
    margin: 16px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-link:hover {
    background-color: #374151;
}

.contact-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.contact-platform {
    font-weight: 500;
}

.contact-description {
    color: #9ca3af;
}

.icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.chevron {
    width: 16px;
    height: 16px;
    color: #6b7280;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chevron.rotated {
    transform: rotate(180deg);
}

@media screen and (max-width: 992px) {
    .container {
        flex-direction: column;
    }
}

@media screen and (max-width: 776px) {
    .container {
        flex-direction: column;
    }

    .file-explorer {
        width: 100%;
    }

    .main-content {
        overflow: hidden;
    }

    .tab {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
    }

    .line-numbers {
        font-size: 12px;
    }

    .code-content {
        font-size: 14px;
    }
}

@media screen and (max-width: 556px) {
    .tab {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 12px;
    }

    .status-bar {
        font-size: 12px;
    }

    .line-numbers {
        font-size: 12px;
    }

    .code-content {
        font-size: 12px;
    }
}

@media screen and (max-width: 374px) {
    .tab {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 9px;
    }

    .status-bar {
        font-size: 10px;
    }
}