.login {
    min-height: 100vh;
}

.logo-section {
    background-color: #ffffff;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.logo-container {
    width: 550px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 110%;
    height: auto;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

.logo {
    height: 60px;
    width: auto;
}

/* Enhanced Tab Transitions */
.auth-container {
    position: relative;
    overflow: hidden;
}

.tab-content {
    min-height: 400px;
}

.tab-pane {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease-in-out;
    position: absolute;
    width: 100%;
}

.tab-pane.show {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.nav-pills .nav-link {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-pills .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FF8C00;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-pills .nav-link.active::after {
    width: 100%;
}

.auth-form {
    animation: formFadeIn 0.5s ease forwards;
}
.h1-style {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}
.text-center.mb-4 p {
    font-size: 0.95rem;  
    line-height: 1.6;   
}

hr.my-3 {
    border-color: #dadce0;  
}
@keyframes formFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background-color: #FF8C00;
    border-color: #FF8C00;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e67e00;
    border-color: #e67e00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.15);
}

/* Social Login Buttons */
.btn-google {
    color: #545454;
    background-color: #ffffff;
    border: 1px solid #dadce0;
    transition: all 0.3s ease;
    height: 45px;
}

.btn-google:hover {
    background-color: #f1f3f4;
    color: #545454;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn-facebook {
    color: #ffffff;
    background-color: #1877f2;
    border: none;
    transition: all 0.3s ease;
    height: 45px;
}

.btn-facebook:hover {
    background-color: #166fe5;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.2);
    transform: translateY(-1px);
}

/* Form Controls */
.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #FF8C00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    transform: translateY(-1px);
}

/* Divider */
.divider {
    text-align: center;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #dadce0;
    transition: all 0.3s ease;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background-color: #fff;
    padding: 0 15px;
    color: #6c757d;
    font-size: 0.9rem;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #FF8C00;
    color: white;
}

.nav-pills .nav-link {
    color: #FF8C00;
}

.nav-pills .nav-link:hover {
    color: #e67e00;
}

a {
    color: #FF8C00;
    transition: all 0.3s ease;
}

a:hover {
    color: #e67e00;
    text-decoration: none;
}

.text-primary {
    color: #FF8C00 !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #FF8C00;
    border-color: #FF8C00;
}

.display-4 {
    font-weight: bold;
    color: #333;
    font-size: 2rem;
}

.text-muted {
    color: #6c757d !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* New styles for content transition */
.content-left, .content-right {
    transition: all 0.5s ease-in-out;
}

.content-left {
    background-color: #ffffff;
}

.content-right {
    background-color: #ffffff;
}

.content-left.slide-right {
    transform: translateX(100%);
}

.content-right.slide-left {
    transform: translateX(-100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 1.8rem;
    }
    
    .col-lg-10 {
        padding: 0 15px;
    }

    .content-left, .content-right {
        transition: none;
    }

    .content-left.slide-right,
    .content-right.slide-left {
        transform: none;
    }
}

.corner-logo {
    width: 80px;
    object-fit: contain;
    transition: 0.3s ease;
}

.corner-logo:hover {
    transform: scale(1.1);
}

.home-logo {
    display: flex;
    align-items: center;
    margin-top: 20px;
    position: relative;
}

@media (max-width: 768px) {
    .home-logo {
        display: block;
        padding-top: 20px;
        text-align: center;
    }
}

#loadingSpinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Fondo blanco semi-transparente */
    display: none; /* Oculto por defecto */
    align-items: center;
    justify-content: center;
    z-index: 1050; /* Asegura que esté sobre otros elementos */
}
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    color: #FF8C00;
}

/* Form Controls with Eye Icon */
.input-group-password {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.form-control {
    padding-right: 40px; /* Ensure space for the eye icon */
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #FF8C00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    transform: translateY(-1px);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d; /* Match text-muted color */
    z-index: 1;
}

.toggle-password:hover {
    color: #FF8C00; /* Match primary color on hover */
}