/* Reset and base styles */
/* Header styles */
.header {
    background-color: #ffffff;
    border-radius: var(--border-radius-xl);
    padding: var(--responsive-padding-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .header {
        border-radius: 1rem 1rem 0 0;
        margin-bottom: 0;
        border-bottom: 1px solid #ddd;
    }
}

.header > div:only-child {
    margin-left: auto;
}

.header-text a {
    color: var(--black);
    text-decoration: none;
    font-weight: bold;
}

/* Progress bar styles */
.progress-container {
    width: 100%;
    max-width: 500px;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .progress-container {
        width: 100px;
    }
}

/* User menu styles */
.user-menu {
    position: relative;
}

button.user-icon {
    width: 40px;
    height: 40px;

    background: rgb(238, 174, 202);
    background: linear-gradient(314.56deg, #A1D6DF 15.21%, #AC87B7 85.7%);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

button.user-icon:focus {
    background-color: var(--purple);
    transform: scale(1.1);
    outline: 2px solid #4a90e2;
}

button.user-icon:hover {
    background-color: var(--purple);
    transform: scale(1.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}


/* Menu styles */

.dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #EEF1F5;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    width: 150px;
}

.dropdown.show {
    display: block;
}

.dropdown a, .dropdown button {
    display: block;
    padding: 10px 20px;
    color: var(--black);
    text-decoration: none;
    width: 100%;
}

.menu-item {
    position: relative;
    display: flex;
    justify-content: start;
    align-items: start;
    padding: .8rem;
    font-weight: bold;
    border-radius: 8px;
}

.menu-item img {
    margin-right: .5rem;
    width: 100%;
    max-width: 40px;
    max-height: 20px;
    justify-self: start;
}

.menu-item a, .menu-item button {
    padding: 0;
}

.menu-item-active {
    background-color: white;
    outline: 2px solid #EBEDEF;
}

.menu-item:hover {
    background-color: #fbfbfb;
}

/* Responsive styles */
.page-title {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: bold;
}

.menu-item-border {
    border-radius: 0;
    border-bottom: 2px solid #EBEDEF;
}