﻿* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif !important;
}

._hispaniclinic-body {
    background-image: url("../../files/system/img-bg-pagelogin2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
}

._hispaniclinic-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

._hispaniclinic-login-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: row;
    backdrop-filter: blur(6px);
    margin: 0 auto;
}

._hispaniclinic-login-left {
    flex: 1;
    background: linear-gradient(135deg, #4fc3dc 0%, #3aa6c0 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

._hispaniclinic-login-left::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

._hispaniclinic-logo-container {
    margin-bottom: 40px;
    z-index: 1;
}

._hispaniclinic-logo-container img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

._hispaniclinic-welcome-text {
    z-index: 1;
    text-align: center;
}

._hispaniclinic-welcome-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

._hispaniclinic-welcome-text p {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
}

._hispaniclinic-login-right {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

._hispaniclinic-login-header {
    margin-bottom: 40px;
}

._hispaniclinic-login-header h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 8px;
    font-weight: 700;
}

._hispaniclinic-login-header p {
    color: #718096;
    font-size: 0.95rem;
}

._hispaniclinic-form {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
}

._hispaniclinic-form-group {
    margin-bottom: 24px;
}

._hispaniclinic-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 500;
    font-size: 0.9rem;
}

._hispaniclinic-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

._hispaniclinic-form-group input:focus {
    outline: none;
    border-color: #4fc3dc;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 195, 220, 0.1);
}

._hispaniclinic-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

._hispaniclinic-remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

._hispaniclinic-remember-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4fc3dc;
}

._hispaniclinic-forgot-password {
    color: #4fc3dc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

._hispaniclinic-forgot-password:hover {
    color: #3aa6c0;
}

._hispaniclinic-login-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4fc3dc 0%, #3aa6c0 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(79, 195, 220, 0.3);
}

._hispaniclinic-login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 195, 220, 0.4);
}

._hispaniclinic-login-button:active {
    transform: translateY(0);
}

._hispaniclinic-alert {
    margin-bottom: 24px;
    border-radius: 12px;
    padding: 16px;
}

._hispaniclinic-recaptcha {
    margin: 16px 0 24px;
}

._hispaniclinic-divider {
    display: flex;
    align-items: center;
    margin: 32px 0;
    color: #a0aec0;
    font-size: 0.9rem;
}

._hispaniclinic-divider::before,
._hispaniclinic-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

._hispaniclinic-divider span {
    padding: 0 16px;
}

._hispaniclinic-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

._hispaniclinic-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

._hispaniclinic-loader .heart {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4fc3dc 0%, #3aa6c0 100%);
    transform: rotate(-45deg);
    animation: beat 1.2s infinite;
    box-shadow: 0 0 40px rgba(79, 195, 220, 0.5);
}

._hispaniclinic-loader .heart::before,
._hispaniclinic-loader .heart::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4fc3dc 0%, #3aa6c0 100%);
    border-radius: 50%;
}

._hispaniclinic-loader .heart::before {
    top: -40px;
    left: 0;
}

._hispaniclinic-loader .heart::after {
    left: 40px;
    top: 0;
}

._hispaniclinic-loader p {
    margin-top: 25px;
    font-size: 1.2rem;
    color: #3aa6c0;
    font-weight: 600;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0.5px;
    animation: fadeText 2s infinite ease-in-out;
}

@keyframes beat {
    0%,
    100% {
        transform: scale(1) rotate(-45deg);
        box-shadow: 0 0 30px rgba(79, 195, 220, 0.4);
    }
    50% {
        transform: scale(1.15) rotate(-45deg);
        box-shadow: 0 0 60px rgba(79, 195, 220, 0.6);
    }
}

@keyframes fadeText {
    0%,
    100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

._hispaniclinic-alt-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 40px 20px;
}

._hispaniclinic-alt-wrapper .card {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    ._hispaniclinic-login-container {
        flex-direction: column;
    }

    ._hispaniclinic-login-left {
        padding: 40px 30px;
    }

    ._hispaniclinic-login-right {
        padding: 40px 30px;
    }

    ._hispaniclinic-welcome-text h1 {
        font-size: 2rem;
    }
}
