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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(16, 85, 173, 0.1);
    position: relative;
}

.lang-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #1055ad;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background 0.2s;
}

.lang-btn:hover {
    background-color: #0c438a;
    color: white;
    text-decoration: none;
    padding-left: 16px;
    cursor: pointer;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #1055ad;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #eef4fb;
    padding-bottom: 10px;
    margin-top: 10px;
}

details {
    margin-bottom: 10px;
    border: 1px solid #dae1e7;
    border-radius: 5px;
    background-color: #fff;
    overflow: hidden;
}

summary {
    cursor: pointer;
    padding: 15px;
    font-weight: bold;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s, color 0.2s;
}

summary::after {
    content: '+';
    font-size: 1.2em;
    font-weight: bold;
}

details[open] > summary::after {
    content: '-';
}

summary::-webkit-details-marker {
    display: none;
}

.main-level > summary {
    background-color: #1055ad;
    color: white;
    font-size: 1.1em;
    border: 1px solid #1055ad;
}

.main-level > summary:hover {
    background-color: #0c438a;
}

.main-content {
    padding: 20px;
    background-color: #f7f9fc;
}

.faculty-level {
    margin-bottom: 8px;
    border: 1px solid #dbe2e8;
    box-shadow: none;
}

.faculty-level > summary {
    background-color: #ffffff;
    color: #333;
    font-size: 1em;
    border-left: 5px solid #1055ad;
}

.faculty-level > summary:hover {
    background-color: #eef4fb;
    color: #1055ad;
}

ul {
    list-style-type: none;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #eee;
}

li {
    margin-bottom: 8px;
    padding-left: 5px;
}

li:last-child {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: #1055ad;
    font-weight: 500;
    transition: color 0.2s, padding-left 0.2s;
    display: block;
}

a:hover {
    color: #0c438a;
    text-decoration: underline;
    padding-left: 5px;
}

@media (max-width: 600px) {
    .lang-btn {
        position: static;
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
}