body {
    margin: 0;
    padding: 0;
    background: grey;
    overflow: hidden;
}

.sidebar {
    position: fixed;
    left: 5%;
    top: 0;
    height: 100vh;
    width: 2px;
    background: #ff8c00;
    box-shadow: 0 0 20px #ff8c00;
}

.sidebar-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff8c00;
}

.sidebar-dot:nth-child(1) { top: 10%; }
.sidebar-dot:nth-child(2) { top: 16%; }
.sidebar-dot:nth-child(3) { top: 22%; }
.sidebar-dot:nth-child(4) { top: 28%; }

.sidebar-button {
    position: absolute;
    left: -80px;
    width: 120px;
    height: 32px;
    background: #2a1e14;
    border: 1px solid #d4a76a;
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(212, 167, 106, 0.4);
    display: flex;
    align-items: center;
    padding-left: 110px;
    color: #d4a76a;
    font-family: 'MedievalSharp';
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: -1;
}

.sidebar-button:nth-child(5) { top: calc(10% - 14px); }
.sidebar-button:nth-child(6) { top: calc(16% - 14px); }
.sidebar-button:nth-child(7) { top: calc(22% - 14px); }
.sidebar-button:nth-child(8) { top: calc(28% - 14px); }

.sidebar-button:hover {
    background: #3a2a1c;
    box-shadow: 0 0 10px rgba(212, 167, 106, 0.6);
}

.wrapper {
    background: #2a1e14;
    height: 90vh;
    width: 55%;
    margin: 3vh auto;
    position: relative;
    box-shadow: 0 0 6px rgba(212, 167, 106, 0.4);
    border: 1px solid #d4a76a;
    border-radius: 4px;
    overflow: hidden;
}

.wrapper::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid rgba(212, 167, 106, 0.3);
    pointer-events: none;
}

.mission-bar {
    display: flex;
    height: 100%;
    font-family: 'MedievalSharp';
}

.mission-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    background: #1a120b;
}

.mission-tabs {
    background: #3a2718;
    display: flex;
    border-bottom: 2px solid #d4a76a;
    height: 50px;
}

.mission-type {
    flex: 1;
    padding: 15px;
    background: #2a1e14;
    color: #d4a76a;
    cursor: pointer;
    border-right: 1px solid #5c3c1c;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.mission-type:last-child {
    border-right: none;
}

.mission-type.selected {
    background: #4a3520;
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
}

.mission-type:hover:not(.selected) {
    background: #3a2a1c;
    color: #ffd700;
}

.mission-list {
    flex: 1;
    background: #1a120b;
    padding: 20px;
    overflow-y: auto;
    border-right: 2px solid #5c3c1c;
}

.mission-button {
    background: #3a2718;
    color: #d4a76a;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #5c3c1c;
    cursor: pointer;
    transition: all 0.3s;
    transform: translateX(8px);
    border-left: 3px solid #d4a76a;
}

.mission-button.selected {
    transform: translateX(-3px);
    background: #4a3520;
    border: 1px solid #ffd700;
    border-left: 3px solid #ffd700;
    color: #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.mission-button:hover:not(.selected) {
    transform: translateX(4px);
    background: #4a3520;
    border-left-color: #ffd700;
}

.mission-details {
    width: 55%;
    background: #1a120b;
    padding: 20px;
    border-left: 2px solid #5c3c1c;
    overflow-y: auto;
}

.quest-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.5);
}

.description-box, .objectives-box, .info-box, .map-box {
    background: #2a1e14;
    border: 1px solid #d4a76a;
    padding: 15px;
    margin: 10px 0;
    border-left: 3px solid #d4a76a;
    box-shadow: 0 0 6px rgba(212, 167, 106, 0.2);
}

.map-box {
    text-align: center;
    font-style: italic;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a76a;
}