/* Header Styling */
header {
    background: linear-gradient(to right, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#userAvatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #ffffff;
}

#header_title {
    display: flex;
    align-items: center;
    flex-grow: 1;
     max-width: 800px;
       margin: 0 auto;
         width: 100%;
           box-sizing: border-box;
}

#header_title h1 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
}

#header_title h2 {
    margin: 0 0 0 10px;
    font-size: 0.9em;
    font-weight: 400;
    opacity: 0.9;
}

.estimado {
    margin-left: auto;
    text-align: right;
    font-size: 0.9em;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.estimado h3 {
    margin: 0;
    font-size: 1em;
}
.estimado .menu-icon {
    margin-left: 15px;
    font-size: 1.8em;
    cursor: pointer;
}

.menu-icon { /* This was duplicated in your original code, ensuring it's here */
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 0;
}


/* Responsive Adjustments for Header */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding-bottom: 10px;
    }

    #header_title {
        width: 100%;
        justify-content: flex-start;
    }

    .estimado {
        margin-left: 0;
        margin-top: 10px;
        text-align: left;
        width: 100%;
        justify-content: space-between;
    }
}