:root {
    --digicel-primary: #ff4081;
    --digicel-secondary: #7c4dff;
}

body {
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    min-width: 360px;
    min-height: 460px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 10px;
    display: flex;
    flex-direction: column;
    max-width: 90%;
}

.container-login {
    min-width: 360px;
    min-height: 400px;
    max-width: 360px;
    max-height: 400px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.content-header {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-radius: 20px;
}

.nav-left,
.nav-right {
    flex: 0 0 auto;
}

.title {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
}

.nav-left button,
.nav-right button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
}

.nav-left button:hover,
.nav-right button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.content-body {
    flex: 1;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.content-body-with-progress {
    flex: 1;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 20px;
}

.content-body-centered {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.content-footer {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-radius: 20px;
}

/**/

.form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    color: #8b8b8b;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    background: white;
    border-radius: 10px;
    font-size: 16px;
    box-shadow: 0 0 0 1px #e0e0e0;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--digicel-primary);
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--digicel-primary);
}

.title-h1 {
    color: #333;
    font-size: 22px;
    text-align: center !important;
    margin-bottom: 20px;
}

.btn-digicel {
    padding: 12px 25px;
    width: 100%;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    background: linear-gradient(to right, var(--digicel-primary), var(--digicel-secondary));
    margin: 8px 0;
    display: inline-block;
    min-width: 0;
}

.btn-digicel:hover {
    background: var(--digicel-primary);
}

.btn-digicel:disabled,
.btn-digicel[disabled] {
    background: linear-gradient(to right, #c0c0c0, #555555);
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}
/*
.btn-option {
    width: 100%;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    margin: 10px 0;
    background: white;
    color: #666;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}
*/
.btn-option {
    padding: 12px 25px;
    width: 100%;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    background: white;
    margin: 8px 0;
    display: inline-block;
    min-width: 0;
    border: 1px solid #e0e0e0;
}

.btn-option:hover {
    background: linear-gradient(to right, var(--digicel-primary), var(--digicel-secondary));
    color: white;
    border: none;
}

.new-user-link {
    display: block;
    text-align: center;
    color: #8b8b8b;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
}

.new-user-link:hover {
    text-decoration: underline;
}

.forgot-password {
    display: block;
    text-align: center;
    color: var(--digicel-primary);
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Loader styles */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.loader-title {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/*loader*/
.loader {
    right: 0;
    border: 10px solid var(--digicel-primary);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.loader-container span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: url('favicon.svg') no-repeat center/contain;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.absolute {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Fin del loader */

/* Loading center classes */
.loading-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px; /* Altura basada en el container por defecto */
}