/* HEADER STYLES */
.header {
    background-color: #018696;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
}

/* Toggle Button */
#toggleBtn {
    font-size: 28px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

#toggleBtn:hover {
    color: #f0f0f0;
}

/* Title */
.header-title {
    font-size: 22px;
    color: white;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

/* User Container */
.user-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Profile Picture */
.profile-header img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-header img:hover {
    transform: scale(1.1);
}

/* User Info */
.user-info {
    color: white;
    font-size: 14px;
    text-align: right;
}

.user-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.user-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

/* Logout Link */
.logout-link {
    color: white;
    background-color: #ff5252;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.logout-link:hover {
    background-color: #e04848;
    text-decoration: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-title {
        font-size: 18px;
        text-align: left;
        width: 100%;
    }

    .user-container {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .profile-header img {
        width: 40px;
        height: 40px;
    }

    .user-info h4 {
        font-size: 14px;
    }

    .user-info p {
        font-size: 11px;
    }

    .logout-link {
        font-size: 12px;
        padding: 6px 12px;
    }
}
