/* ===== GENERAL ===== */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background: url('../../img/4.png') no-repeat center center fixed;
    background-size: cover;
}

/* ===== LOGIN SECTION ===== */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem 1.5rem 1rem;
}

.login-card {
    background-color: #FFFFFF;
    padding: 40px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 490px;
    height: 640px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-align: center;
}

.login-card img {
    width: 175px;
}

.login-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #35796C;
    margin: 0;
    text-align: center;
    margin-top: 4px;
}

.login-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #555;
    margin-top: 4px;
    margin-bottom: 20px;
}

/* ===== INPUT CON ICONO ===== */
.form-group {
    position: relative;
    margin-bottom: 17px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border-radius: 10px;
    background-color: #F3F3F3;
    border: 1px solid #8E8E8E;
    font-size: 0.95rem;
    outline: none;
    color: #222;
}

.form-group i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 18px;
}

.forget {
    color: #149E82;
    font-size: 15px;
    text-decoration: none;
}

.forget:hover {
    font-weight: 600;
    text-decoration: underline;
}

.register {
    color: #000000;
    text-decoration: none;
}

.register:hover {
    text-decoration: underline;
}

/* ===== BOTON LOGIN ===== */
.btn-login {
    display: block;
    margin: 15px auto 36px;
    background-color: #E10000;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    border-radius: 8px;
    border: none;
    padding: 10px 50px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: rgb(160, 0, 0);
    color: #fff;
}

/* ===== PORTAL SECTION ===== */
.portal-section {
    padding: 2.5rem 2rem;
    background-color: rgba(245,245,245,0.95);
    text-align: center;
}

.portal-title {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    font-size: 1.5rem;
}

.portal-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FF0000;
    margin: 8px auto 0;
    border-radius: 2px;
}

.portal-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.iconp {
    font-size: 30px;
    color: #149E82;
    margin-bottom: 15px;
}

.portal-card h6 {
    color: #000;
    font-weight: 600;
}

.portal-card p {
    color: #777;
    font-size: 0.9rem;
}

.loginadmin-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem 1.5rem 1rem;
}

.loginadmin-card {
    background-color: #FFFFFF;
    padding: 40px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 115px;
    border-radius: 10px;
    width: 100%;
    max-width: 490px;
    height: 597px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-align: center;
}

.loginadmin-card img {
    width: 300px;
    height: auto;
}

/* ===== FOOTER ===== */
.footer-section {
    background-color: #444245;
    color: #fff;
}

.footer-section .footer-desc {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-section .footer-social a {
    color: #fff;
    transition: color 0.3s;
}

.footer-section .footer-social a:hover {
    color: #07cfa7;
}

.footer-section .footer-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-section .footer-links li {
    margin-bottom: 5px;
}

.footer-section .vertical-line {
    width: 2px;
    background-color: #149E82;
    margin: 0 auto;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    color: #07cfa7;
    text-decoration: none;
}

.custom-footer {
    padding-top: 30px;
    padding-bottom: 20px;
}

.admin-footer {
    padding-top: 20px;
    padding-bottom: 5px;
}

.register-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem 1.5rem 1rem;
}

.register-card {
    background-color: #FFFFFF;
    padding: 40px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 700px;
    height: 640px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-align: center;
}

.register-card img {
    width: 175px;
}

body.modal-open {
    padding-right: 0 !important;
}

.modal-content {
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #35796C;
    margin: 0;
    text-align: center;
}

.modal-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #555;
}

.modal-body .form-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8E8E8E;
    font-size: 1.2rem;
}

.modal-body .form-control {
    padding-left: 40px;
    border-radius: 10px;
    background-color: #F3F3F3;
    border: 1px solid #8E8E8E;
}

.btn-en {
    display: block;
    margin: 15px auto 10px;
    background-color: #E10000;
    font-family: 'Poppins', sans-serif;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-en:hover {
    background-color: rgb(160, 0, 0);
}

.inicio {
    color: #000000;
    text-decoration: none;
}

.inicio:hover {
    text-decoration: underline;
}

/* Contenedor general del modal */
.success-modal {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-modal:hover {
  transform: scale(1.02);
}

/* Header del modal */
.success-modal-header {
    color: #fff;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Icono del check */
.success-icon {
    font-size: 1.8rem;
    margin-right: 0.5rem;
}

/* Body del modal */
.success-modal-body {
    font-family: 'Lato', sans-serif;
    font-size: 1.0rem;
    color: #333;
}

/* Footer del modal */
.success-modal-footer {
  justify-content: center;
  border: none;
}

/* Botón del modal */
.btn-success-modal {
    display: block;
    margin-bottom: 10px;
    background-color: #E10000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-success-modal:hover {
    background-color: rgb(160, 0, 0);
    color: #fff;
}

/* Modal exitoso */
.modal-success {
    color: #35796C;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Modal error */
.modal-error {
    color: #d32f2f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

#resetModal p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #333;
}

.btn-red {
    display: block;
    margin: 0 auto 0 auto;
    background-color: #E10000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    border: none;
    padding: 10px 30px;
    font-size: 1rem;
    width: 190px;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-red:hover {
    background-color: rgb(160, 0, 0);
    color: #fff;
}

/* Toast de éxito */
.toast-success {
    background-color: #198754 !important;
    color: #fff !important;
}

/* Toast de error */
.toast-error {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.toast-success .toast-body,
.toast-error .toast-body {
    color: #fff !important;
}