
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f4f6f9;
    color: #2c3e50;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 22px;
    letter-spacing: 1px;
}

header nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: 0.3s;
}

header nav a:hover {
    color: #1abc9c;
}

.content {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 240px;
    background: #1f2a36;
    padding: 25px;
    color: white;
}

.sidebar h1 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1abc9c;
}

.sidebar h3 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #aaa;
    text-transform: uppercase;
}

.sidebar a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar a:hover {
    background: #1abc9c;
    color: white;
    padding-left: 18px;
}

main {
    flex: 1;
    padding: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    animation: fadeIn 0.4s ease;
}

.activity {
    background: #ffffff;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.activity:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

button {
    margin-top: 10px;
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    background: #1abc9c;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #16a085;
    transform: translateY(-2px);
}

input {
    padding: 8px 10px;
    margin: 8px 5px 0 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: #1abc9c;
    box-shadow: 0 0 6px rgba(26,188,156,0.3);
}

.dom-dark {
    background: #121212 !important;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 20px;
}

.dom-dark .activity {
    background: #1e1e1e;
    color: #ffffff;
    border: 1px solid #444;
}

.dom-dark input {
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #666;
}

#aboutSection {
    text-align: center;
}

.profile-pic {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px; 
    display: block;
    margin: 10px auto;
}

.result {
    margin-top: 15px;
    padding: 15px;
    background: #f0fdf9;
    border-left: 5px solid #1abc9c;
    border-radius: 6px;
}

#finalGrade {
    font-size: 18px;
    font-weight: bold;
}

#gradeEquivalent {
    font-size: 16px;
    font-weight: 600;
    color: #16a085;
}

footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none;
}
