body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 15px 30px;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 7px 5px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 40px;
}

.navbar .buttons {
    display: flex;
    align-items: center;
    gap: 2px;
}

.navbar button {
    background-color: transparent;
    color: #3b3b3b;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar button:hover {
    background-color: transparent;
    transform: translateY(-2px);
}

.container {
    width: 100%;
    padding: 20px;
    padding-top: 100px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.profile-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

h1 {
    font-size: 2.5em;
    color: #3b3b3b;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
}

.profile-section,
.change-password-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.profile-section:last-child,
.change-password-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-section h2 {
    font-size: 1.8em;
    color: #3b3b3b;
    font-weight: 400;
    margin-bottom: 15px;
    text-align: center;
    /* Asegura que el texto esté centrado */
}


.change-password-section h2 {
    font-size: 1.8em;
    color: #3b3b3b;
    font-weight: 400;
    margin-bottom: 15px;
}

.profile-section div {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    /* Agregar esta línea */
}

.profile-section div,
.change-password-section div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-section div span,
.change-password-section div span {
    font-weight: bold;
    flex: 1;
    color: #555;
}

.profile-section div input,
.change-password-section div input {
    flex: 2;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.profile-section button,
.change-password-section button {
    background-color: #3b3b3b;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    padding: 10px 15px;
    font-size: 1em;
    border-radius: 5px;
    align-self: flex-end;
}

.profile-section button:hover,
.change-password-section button:hover {
    background-color: #272727;
    transform: translateY(-2px);
}

.alert {
    padding: 15px;
    background-color: #f44336;
    color: white;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert.success {
    background-color: #4CAF50;
}

.alert.info {
    background-color: #2196F3;
}

.alert.warning {
    background-color: #ff9800;
}

.alert span {
    margin-left: 15px;
    font-weight: bold;
}

.alert .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.alert .closebtn:hover {
    color: black;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #ccc;
    display: block;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    /* Agranda ligeramente el círculo */
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
    /* Aumenta la sombra */
    filter: brightness(1.1);
    /* Incrementa el brillo */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 400px;
    text-align: center;
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 1.2em;
}

.confirm-btn,
.cancel-btn {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.confirm-btn {
    background-color: #28a745;
    color: white;
}

.cancel-btn {
    background-color: #dc3545;
    color: white;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    right: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid #0000000f;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s, opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #dddddd26;
    opacity: 1;
    transform: translateY(-2px);
}

.dropdown-menu.show .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu.show .dropdown-button {
    display: block;
}


@media (max-width: 1865px) {

    .navbar .buttons {
        display: none;
    }

    .dropdown-menu {
        display: block !important;
    }
}