:root {
    --primary-orange: #E98404;
    --secondary-orange: #FF8C42;
    --dark-blue: #1C2A44;
    --navy-blue: #0F172A;
    --light-blue: #3B82F6;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    line-height: 1;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-blue) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    margin: 0;
}

.login-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
    height: 85vh;
    max-height: 600px;
}

.login-card .row {
    height: 100%;
    margin: 0;
    min-height: 500px;
}

.login-card .col-lg-6 {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.login-card .col-lg-6:first-child {
    
    position: relative;
}

.login-left {
    
    padding: 25px 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    flex: 1;
    min-height: 500px;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    z-index: 1;
}

.brand-section {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    background: transparent !important;
    border: none !important;
    outline: none !important;
    display: block !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    -webkit-filter: brightness(0) invert(1);
    -moz-filter: brightness(0) invert(1);
    -ms-filter: brightness(0) invert(1);
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.brand-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    margin-bottom: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.features-list li i {
    margin-right: 10px;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.pricing-section {
    background: rgba(2, 29, 59, 0.897) !important;
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
    flex-shrink: 0;
    border: 5px solid rgba(246, 59, 59, 0);
}

.pricing-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    background: rgba(2, 29, 59, 0) !important;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.75rem;
    padding: 3px 0;
    background: rgba(2, 29, 59, 0) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.342);
}

.pricing-comprobantes {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.9;
    margin: 0 10px;
    background: rgba(2, 29, 59, 0) !important;
}

.pricing-cost {
    font-weight: 600;
    color: var(--white);
    text-align: right;
    min-width: 60px;
    font-size: 0.75rem;
    background: rgba(2, 29, 59, 0) !important;
}

.pricing-item:last-child {
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    font-weight: 600;
    background: rgba(2, 29, 59, 0) !important;
}

.login-right {
    padding: 20px 30px;
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-height: 500px;
    overflow-y: auto;
}

.form-container {
    flex: 1;
    margin-bottom: 20px;
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
    background: var(--white);
    padding: 0;
}

.login-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.login-subtitle {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
    display: block;
    font-size: 0.85rem;
}

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: var(--white);
    outline: none;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-600);
    z-index: 3;
}

.input-with-icon {
    padding-left: 50px;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 12px;
    cursor: pointer;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    color: var(--white);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
    gap: 6px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--primary-orange);
}

.forgot-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--secondary-orange);
}

.register-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
    padding: 20px 0 0 0;
}

.register-text {
    color: var(--gray-600);
    margin-bottom: 10px;
}

.register-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: var(--secondary-orange);
}

.captcha-section {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
    text-align: center;
}

.captcha-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.btn-refresh {
    background: var(--light-blue);
    border: none;
    border-radius: 5px;
    padding: 6px 10px;
    color: var(--white);
    font-size: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    min-width: fit-content;
}

.btn-refresh:hover {
    background: var(--dark-blue);
    color: var(--white);
}

/* Captcha responsive fixes */
@media (max-width: 767.98px) {
    .captcha-container {
        flex-direction: column;
        gap: 10px;
    }

    .captcha-container img {
        max-width: 100%;
        height: auto;
    }

    .btn-refresh {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .captcha-section {
        padding: 15px;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .captcha-container {
        gap: 8px;
    }

    .btn-refresh {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .captcha-section {
        padding: 12px;
    }
}

/* Loading Spinner */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.loading-spinner {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.loading-text {
    color: var(--gray-800);
    font-weight: 500;
}

/* Estilos específicos para pantallas grandes */
@media (min-width: 992px) {
    .login-card {
        min-height: 600px;
    }

    .login-card .row {
        min-height: 600px;
    }

    .login-card .col-lg-6 {
        min-height: 600px;
    }

    .login-left {
        min-height: 600px;
    }

    .login-right {
        min-height: 600px;
        justify-content: flex-start;
        position: relative;
    }

    .login-header {
        position: sticky;
        top: 0;
        background: var(--white);
        z-index: 10;
        padding: 10px 0;
        border-bottom: 1px solid var(--gray-100);
        margin-bottom: 20px;
    }

    .form-container {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0;
        margin: 0 -30px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .register-section {
        position: sticky;
        bottom: 0;
        background: var(--white);
        z-index: 10;
        padding: 15px 0 10px 0;
        margin: 20px -30px 0 -30px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .login-card {
        height: auto;
        max-height: none;
        margin: 20px;
    }
    
    .login-card .row {
        height: auto;
    }
    
    .login-card .col-lg-6 {
        flex-direction: column;
    }
    
    .login-left {
        padding: 30px 25px;
        height: auto;
        flex: none;
        min-height: auto;
    }
    
    .login-right {
        padding: 30px 25px;
        height: auto;
        flex: none;
        min-height: auto;
        overflow-y: visible;
        justify-content: center;
    }

    .login-header {
        position: static;
        background: transparent;
        z-index: auto;
        padding: 0;
        border-bottom: none;
        margin-bottom: 25px;
    }

    .form-container {
        flex: none;
        overflow-y: visible;
        padding: 0;
        margin: 0;
        margin-bottom: 20px;
    }

    .register-section {
        position: static;
        background: transparent;
        z-index: auto;
        padding: 20px 0 0 0;
        margin: 0;
    }
    
    .brand-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .brand-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .features-list li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .features-list li i {
        font-size: 1.1rem;
        margin-right: 12px;
    }
    
    .pricing-section {
        padding: 15px;
        margin-top: 15px;
    }
    
    .pricing-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .pricing-item {
        font-size: 0.85rem;
        margin-bottom: 8px;
        padding: 4px 0;
    }
    
    .pricing-comprobantes {
        font-size: 0.8rem;
        margin: 0 12px;
    }
    
    .login-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .login-subtitle {
        font-size: 1rem;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .form-control {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .btn-login {
        padding: 12px 25px;
        font-size: 1rem;
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .login-container {
        padding: 10px;
    }
    
    .login-card {
        border-radius: 15px;
        margin: 10px;
    }
    
    .login-card .row {
        height: auto;
    }
    
    .login-card .col-lg-6 {
        flex-direction: column;
    }
    
    .login-left {
        padding: 25px 20px;
        height: auto;
        flex: none;
        min-height: auto;
    }
    
    .login-right {
        padding: 25px 20px;
        height: auto;
        flex: none;
        min-height: auto;
        overflow-y: visible;
        justify-content: center;
    }

    .login-header {
        position: static;
        background: transparent;
        z-index: auto;
        padding: 0;
        border-bottom: none;
        margin-bottom: 25px;
    }

    .form-container {
        flex: none;
        overflow-y: visible;
        padding: 0;
        margin: 0;
        margin-bottom: 20px;
    }

    .register-section {
        position: static;
        background: transparent;
        z-index: auto;
        padding: 20px 0 0 0;
        margin: 0;
    }
    
    .brand-title {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    
    .brand-subtitle {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    
    .features-list {
        margin-bottom: 15px;
    }
    
    .features-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .features-list li i {
        font-size: 1rem;
        margin-right: 10px;
        width: 14px;
    }
    
    .pricing-section {
        padding: 12px;
        margin-top: 12px;
    }
    
    .pricing-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .pricing-item {
        font-size: 0.8rem;
        margin-bottom: 6px;
        padding: 3px 0;
    }
    
    .pricing-comprobantes {
        font-size: 0.75rem;
        margin: 0 8px;
    }
    
    .pricing-cost {
        font-size: 0.8rem;
        min-width: 50px;
    }
    
    .login-title {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }
    
    .login-subtitle {
        font-size: 0.9rem;
    }
    
    .login-header {
        margin-bottom: 25px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .form-control {
        padding: 11px 14px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .captcha-section {
        padding: 12px;
        margin: 12px 0;
    }
    
    .captcha-container {
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .btn-refresh {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .form-options {
        margin: 15px 0;
        gap: 8px;
    }
    
    .btn-login {
        padding: 11px 20px;
        font-size: 0.9rem;
        margin-top: 12px;
    }
    
    .register-section {
        margin-top: 18px;
        padding-top: 12px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pricing-item {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        margin-bottom: 12px;
        background: rgba(2, 29, 59, 0) !important;
    }
    
    .pricing-plan-name {
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 2px;
        background: rgba(2, 29, 59, 0) !important;
    }
    
    .pricing-comprobantes {
        font-size: 0.8rem;
        margin: 0;
        opacity: 0.8;
    }
    
    .pricing-cost {
        font-size: 0.9rem;
        font-weight: 700;
        margin-top: 2px;
    }
}

@media (max-width: 575.98px) {
    .login-container {
        padding: 5px;
    }
    
    .login-card {
        margin: 5px;
        border-radius: 12px;
    }
    
    .login-left {
        padding: 20px 15px;
    }
    
    .login-right {
        padding: 20px 15px;
    }
    
    .brand-title {
        font-size: 1.6rem;
    }

    .brand-subtitle {
        font-size: 0.85rem;
    }

    .features-list li {
        font-size: 0.8rem;
    }

    .pricing-section {
        padding: 10px;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .btn-login {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-left,
.login-right {
    animation: fadeInUp 0.8s ease-out;
}

.login-right {
    animation-delay: 0.2s;
}

/* Spinner Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Floating Action Button for Mobile */
.floating-action-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(233, 132, 4, 0.4);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-action-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(233, 132, 4, 0.6);
}

.floating-action-btn:active {
    transform: translateY(-1px) scale(1.05);
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation for Attention */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(233, 132, 4, 0.4);
    }

    50% {
        box-shadow: 0 8px 25px rgba(233, 132, 4, 0.8), 0 0 0 10px rgba(233, 132, 4, 0.1);
    }

    100% {
        box-shadow: 0 8px 25px rgba(233, 132, 4, 0.4);
    }
}

.floating-action-btn.pulse {
    animation: pulse 2s infinite;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Show floating button only on mobile */
@media (max-width: 767.98px) {
    .floating-action-btn {
        display: flex;
    }

    /* Adjust login container padding to avoid button overlap */
    .login-container {
        padding-bottom: 100px;
    }
}

/* Asegurar que el lado izquierdo sea completamente naranja */
@media (min-width: 992px) {
  
    
    
    
    .brand-section,
    .features-list,
    .logo-container,
    .brand-title,
    .brand-subtitle {
        background: transparent !important;
    }
}