
:root {
    --primary-color: #00a3e0;
    --secondary-color: #071a2a;
    --gradient-color: #548ff1;
}

body {
    font-family: 'Inter', sans-serif;
}

.fade-in {
    display: none;
}

.left-side {
    background-color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.right-side {
    background-image: url('../../img/login_right_bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.login-button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.multicolor-text {
    font-size: 2.5rem;
    font-weight: bold;
    background: -webkit-linear-gradient(var(--gradient-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 30px;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.input-group-text {
    background-color: white;
    border-right: 0;
    border-top-left-radius: 80px 80px;
    border-bottom-left-radius: 80px 80px;
}

.form-control {
    border-left: 0;
    border-top-right-radius: 80px 80px;
    border-bottom-right-radius: 80px 80px;
}

.modal-header-reset-password {
    background-color: black;
    color: white;
}

.btn-close.btn-close-reset-password {
    filter: invert(1) brightness(200%);
    opacity: 1;
}

.modal.show .modal-dialog {
    animation: modalJumpIn 0.4s ease-out;
}

.logo {
    max-width: 350px;
    width: 100%;
    height: auto;
}

@keyframes modalJumpIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    80% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.modal.show .modal-dialog {
    animation: modalJumpIn 0.4s ease-out;
}

.register-button {
    border: 2px solid black;
    background: white;
    color: black;
    border-radius: 30px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.register-button:hover {
    background: black;
    color: white;
}

.login-button {
    border: 2px solid black;
    background: white;
    color: black;
    border-radius: 30px;
    padding: 10px;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: black;
    color: white;
}

.forgot-password-link {
    color: black;
    font-weight: 500;
    text-decoration: none;
}

.forgot-password-link:hover {
    text-decoration: underline;
}


.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}
.pillow-box {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.slide-title {
    font-size: 2.5rem;
    font-weight: bold;
    animation: slideInLeft 1s ease-in-out;
}

.slide-desc {
    font-size: 1.2rem;
    animation: slideInRight 1s ease-in-out;
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Replace the existing spinner styles with this modern loading animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s;
}

.loading-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* Modern loading animation with jumping dots */
.spinner {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner:before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: white;
    border-bottom-color: white;
    animation: spin 1.5s linear infinite;
}

.spinner:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-left-color: var(--primary-color);
    border-right-color: var(--primary-color);
    animation: spin 1s linear infinite reverse;
}

.spinner-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.spinner-dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    animation: jump 1.2s ease-in-out infinite;
}

.spinner-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes jump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.spinner-text {
    position: absolute;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 100px; /* Position text below the spinner */
}

.error-message {
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 5px solid #ff0000;
    padding: 10px;
    margin-top: 15px;
    color: #ff0000;
    border-radius: 4px;
    display: none;
}

.language-switcher {
    position: absolute;
    top: 10px;
    left: 10px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: auto;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    color: #212529;
    text-decoration: none;
    background-color: transparent;
    border: 0;
}

.dropdown-item .flag-icon {
    margin-right: 8px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    border: 1px solid grey;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
}

.dropdown-toggle:hover {
    background-color: #f0f0f0;
}

.inter-font {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.syne-font {
  font-family: "Syne", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

@media (max-width: 767.98px) {
    .language-switcher {
        top: 10px;
        left: 10px;
        right: auto;
    }

    .dropdown-item span:not(.flag-icon) {
        display: none;
    }

    .left-side .text-center img {
        width: 250px;
    }

    .left-side {
        padding: 20px;
    }
}