.login-container {
    position: relative;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: none;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.login-container.active {
    display: block;
    transform: scale(1);
    opacity: 1;
}

.login-container .sign-in-sign-up {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.login-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    height: 100%;
    background: #fff;
    text-align: center;
}

.login-container h1 {
    font-weight: 700;
    margin-bottom: 0;
    color: #333;
}

.login-container p {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

.login-container input {
    background-color: #f0f0f0;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    border-radius: 5px;
    outline: none;
    font-size: 14px;
}

.login-container input:focus {
    background-color: #e8f0fe;
}

.login-container .social-container {
    width: 100%;
    margin: 20px 0;
}

.login-container .social-container a {
    border: 1px solid #ddd;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}

.login-container .social-container a:hover {
    border-color: #0078d4;
    background-color: #f5f5f5;
}

.login-container button {
    position: relative;
    border-radius: 20px;
    border: none;
    background-color: #0078d4;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #005fa3;
}

.login-container button:active {
    transform: scale(0.95);
}

.login-container button.ghost {
    background-color: transparent;
    border: 2px solid #fff;
}

.login-container button.ghost:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.login-container .form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.login-container .sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.login-container .sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.login-container.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

.login-container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: login-container-show 0.6s;
}

@keyframes login-container-show {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

.login-container .overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.login-container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.login-container .overlay {
    background: #0078d4;
    background: linear-gradient(to right, #188a97, #53baff);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.login-container.right-panel-active .overlay {
    transform: translateX(50%);
}

.login-container .overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 0 20px 0;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.login-title {
    color: white !important;
}

.login-container .overlay-left {
    transform: translateX(-20%);
}

.login-container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.login-container .overlay-right {
    right: 0;
    transform: translateX(0);
}

.login-container.right-panel-active .overlay-right {
    transform: translateX(20%);
}

.login-container .remember-forgot {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 15px 0;
}

.login-container .checkbox {
    display: flex;
    align-items: center;
}

.login-container .checkbox input {
    width: auto;
    margin-right: 5px;
}

.login-container a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.login-container a:hover {
    color: #0078d4;
}

.login-container .form-hint {
    margin-top: -12px 0;
    font-size: 14px;
    color: #777;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: #757575;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.google-btn:hover {
    background-color: #f5f5f5;
    border-color: #4285f4;
}

.google-btn img {
    width: 18px;
    height: 18px;
}