

:root {
    --primary-color: #71a28a;
    --primary-dark: #4c8067;
    --background-color: #f3f4f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}


.loader {
    width: 25px;
    height: 25px;
    border: 2px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
/* main {
    max-width: 1200px;
    margin: 2rem auto;
} */

.profile-banner {
    background-color: var(--primary-color);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.profile-icon {
    background-color: var(--primary-dark);
    border-radius: 50%;
    padding: 0;
    display: flex;
    position: relative;
    width: calc(100px + 01.5rem);
    height: calc(100px + 1.5rem);
    justify-content: center;
    align-items: center;
}


.profile-icon img {
    border-radius: 50%;
    width: 100px;
}

.profile-icon i {
    color: white;
    font-size: 2rem;
}

.profile-info {
    display: inline-block;
}

.content-profile-information {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-info h2 {
    color: white;
    margin: 0;
    font-size: 30px;
    line-height: 25px;
    font-family: 'Geist Sans', sans-serif;
    font-weight: 700;
    padding: 0;
}

.profile-info p {
    color: #dfe5e6;
    margin: 0.25rem 0 0;
}

.tabs-container {
    border-radius: 0.5rem;
    min-height: 75vh;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 0.8rem;
    overflow-x: auto;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    border: none;
    text-wrap: nowrap;
    background: none;
    cursor: pointer;
    font-size: 1.6rem;
    font-family: 'Geist Sans', sans-serif;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tab-button:first-of-type {
    margin-left: 1.5rem;
}

.tab-button svg {
    width: 1.8rem;
} 

.tab-button span {
    font-size: 1.6rem;
    line-height: 1.6rem;
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.content-part {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 0.8rem;
    margin-bottom: 20px;
    border: 1px solid #e4e4e7;
}

.content-part:last-of-type {
    margin-bottom: 0;
}


.tab-content h3 {
    color: var(--primary-color);
    font-size: 26px;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    font-size: 1.6rem;
    padding: .6rem 1rem;
    border-radius: .5rem;
    color: var(--text-light);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-ghost {
    background: none;
    border: none;
    color: var(--text-color);
}

.btn-ghost:hover {
    background-color: #f3f4f6;
}

.btn-outline {
    background: none;
    border: 1px solid #d1d5db;
    color: var(--text-color);
    font-size: var(--rr-fs-p);
    border-radius: .5rem;
}

.btn-outline:hover {
    background-color: #f3f4f6;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: white;
    font-size: var(--rr-fs-p);
    border-radius: .5rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: var(--primary-dark);
}



.spinner,
.spinner2 {
    border: 4px solid rgba(0, 0, 0, 0.1);
    height: 50px;
    width: 50px;
    border-left-color: var(--primary-color);
    animation: spin 1.5s linear infinite;
    border-radius: 100%;
    display: block;
    margin-top: 100px;
    margin-bottom: 100px;
}


/* Add these new styles for the modal */
.modal {
    display: none;
    position: fixed;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(107 114 128 / 75%);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    ;
    transition: opacity 0.3s ease;
}

.modal-content {
    background-color: #fefefe;
    margin: 50px auto 0px;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 60rem;
    border-radius: 0.5rem;
}

.close {
    float: left;
    font-weight: bold;
    cursor: pointer;
}

.close,
.enviar {
    float: left;
}

.enviar,
.enviar:hover,
.enviar:active,
.enviar:focus {
    background-color: rgb(239 68 68 / 100%);
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#open-modal-btn {
    margin-top: 1rem;
}

.modal-content h6 {
    color: var(--primary-color);
}

.modal-content p {
    color: var(--rr-text-body);
    font-size: 15px;
    line-height: 22px;
}



textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    font-size: 1rem;
    box-sizing: border-box;
    resize: vertical;
    min-height: 100px;
}

/* Responsive styles for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
}

/*********************
Dialogs
**********************/

.dialog {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    padding: 15px;
    align-items: center;
    gap: 15px;
    display: none;
    border-radius: 8px;
    z-index: 99999;
}

.dialog.success {
    background-color: #008250;
}

.dialog.error {
    background-color: #d44950;
}

.dialog h5 {
    color: #fff;
    font-size: 18px;
}

.dialog>div>ion-icon {
    font-size: 26px;
    color: #fff;
}

.dialog>div {
    height: 26px;
    cursor: pointer;
}


.loader-updating {
    height: 100vh;
    width: 100vw;
    position: fixed;
    background-color: rgb(107 114 128 / 75%);
    display: block;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 99999;
    display: none;
}

.loader-updating .spinner2 {
    position: absolute;
    margin: 0px;
    border-left-color: #fefefe;
    height: 100px;
    width: 100px;
    border-width: 10px;
}




/*********************
Image Picker Profile
**********************/

.img-picker-click {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    border-radius: 50%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
    display: none;
    transition: 0.3s opacity;
    cursor: pointer;
}

.profile-icon:hover .img-picker-click {
    display: flex;
    transition: 0.3s opacity;
}

.img-picker-click ion-icon {
    font-size: 26px;
    color: #fefefe;
}

.img-picker {
    background-color: rgba(255, 255, 255, 0.9);
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 999;
    display: none;
}

.img-picker #image-choose {
    position: relative;
    top: 80px;
    width: calc(100% - 70px) !important;
    display: block;
    max-width: 100%;
}

.cropper-container {
    top: 30% !important;
    position: absolute !important;
    transform: translateY(-30%);
}

.img-picker .close-img-picker {
    position: absolute;
    right: 25px;
    top: 25px;
    cursor: pointer;
}

.img-picker .close-img-picker ion-icon {
    color: #000;
    font-size: 30px;
}

.picture-label input {
    display: none;
}

.picture-label>div {
    padding: 10px;
    background-color: #f4f4f5;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.picture-label .picture__image {
    background-color: #f4f4f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 0.5rem;
    gap: 10px;
}

.picture-label .picture__image span {
    color: #18181b;
    font-size: 16px;
}

.picture-label .picture__image  svg {
    color: #18181b;
    width: 20px;
}

form#form-input-image-avatar {
    height: 100vh;
}

.picture-label {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    aspect-ratio: 16/9;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border: 2px dashed #dbdbde;
    flex-direction: column;
    font-size: 20px;
    cursor: pointer;
    font-family: 'Geist Sans', sans-serif;
}

.picture-label .info-file {
    font-size: 14px;
    margin-top: 5px;
}

.picture-label:hover {
    border-color: #aaa;
}

.buttons-img-picker {
    background-color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    user-select: none;
}

#actions-image-picker {
    display: flex;
    gap: 15px;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}


