.btn-profile-save {
    background-color: var(--inno-empresa);
    border: none;
    border-radius: 16px;
    color: white;
    cursor: pointer;
    padding: 10px 14px;
    border: 1px solid var(--inno-empresa);
}

.btn-profile-save:hover {
    opacity: 0.9;
    color: var(--inno-empresa);
    background-color: transparent;
    border: 1px solid var(--inno-empresa);
}
.parte-header[aria-expanded="true"] i {
    transform: rotate(0);
}
.btn-profile-cancel {
    background-color: darkred;
    border: none;
    border-radius: 16px;
    color: white;
    cursor: pointer;
    padding: 10px 14px;
    border: 1px solid darkred;
}

.btn-profile-cancel:hover {
    color: darkred;
    background-color: transparent;
    border: 1px solid darkred;
}

.btn-success:hover {
    color: green;
    background-color: transparent;
    border: 1px solid green;
}


.btn-profile{
    background: var(--inno-primary-light);
    border: 1px solid var(--inno-primary-dark);
    border-radius: 16px;
    color: var(--inno-primary-dark);
    cursor: pointer;
    padding: 10px 14px;
}

.btn-profile:hover {
    opacity: 0.9;
}

.profile-settings {
    margin: 0 auto;
    padding: 20px;
}

.profile-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .profile-container {
        flex-direction: row;
    }
}

.profile-picture {
    flex: 0 0 250px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

.profile-form {
    flex: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea, .form-group input[type="time"]{
    padding: 8px;
    border: 1px solid var(--inno-secondary-light);
    border-radius: 16px;
    background-color: var(--inno-secondary-light);
}

.agregar-observacion, .agregar-observacion-paciente{
    padding: 8px;
    border: 1px solid var(--inno-empresa);
    border-radius: 16px;
    background-color: var(--inno-empresa);
}
.agregar-observacion:hover, .agregar-observacion-paciente:hover{
    background-color: var(--inno-primary-light);
    color: var(--inno-empresa);
}

.form-group input[type="time"]{
    width: fit-content;
}

.notifications-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--inno-secondary-light);
}

.notifications-section h3 {
    margin-bottom: 1rem;
    color: var(--inno-empresa);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-check-input {
    margin-top: 0.25rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--inno-empresa);
    border-color: var(--inno-empresa);
}

.form-check-label {
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.password-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--inno-secondary-light);
}

.password-section h3 {
    margin-bottom: 1rem;
}

.form-actions {
    margin-top: 2rem;
    text-align: right;
}

.mensaje {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 16px;
    color: #155724;
}

/* Estilos para el modal de recorte */
.img-container {
    max-height: 400px;
    margin-bottom: 1rem;
}

.img-container img {
    max-width: 100%;
    max-height: 400px;
}

.preview-container {
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 16px;
}

.preview {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 16px;
}

.modal-content {
    border-radius: 16px;
}

.modal-footer {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.modal-footer .btn {
    border-radius: 16px;
}

.modal-footer .btn-primary {
    background-color: var(--inno-empresa);
    border: none;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    border: none;
}