/* CSS Starts Here */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f4f8;
}

.container {
    width: 800px;
    min-height: 500px;
    background-color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0px 96px 0px 96px;
    position: relative;
    overflow: hidden;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

form {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    color: #888;
    margin-bottom: 30px;
    font-size: 12px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.input-group i.password-toggle {
    left: auto;
    right: 15px;
    cursor: pointer;
}

.input-group input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 12px;
}





.terms {
    display: flex;
    align-items: center;
    font-size: 10px;
    color: #666;
    margin-bottom: 20px;
    width: 100%;
}

.terms input { margin-right: 8px; }

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #1a3e7f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.submit-btn:hover { background-color: #2a529a; }

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-btn {
    background-color: #1a3e7f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.modal-btn:hover {
    background-color: #2a529a;
}

.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.success-popup img {
    max-width: 150px;
    max-height: 150px;
}

.popup-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.overlay {
    background: #1a3e7f;
    color: #ffffff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.logo {
    font-size: 48px;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.overlay-panel h2 { font-size: 16px; margin-bottom: 15px; }
.overlay-panel p { font-size: 12px; line-height: 1.6; max-width: 300px; margin-bottom: 10px; }

.switch-section p { font-size: 12px; margin-bottom: 10px; }

.switch-btn {
    background-color: #fff;
    color: #1a3e7f;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.overlay-left { transform: translateX(-20%); }
.overlay-right { right: 0; transform: translateX(0); }

.container.right-panel-active .sign-in-container { transform: translateX(100%); }
.container.right-panel-active .sign-up-container { transform: translateX(100%); opacity: 1; z-index: 5; }
.container.right-panel-active .overlay-container { transform: translateX(-100%); }
.container.right-panel-active .overlay { transform: translateX(50%); }
.container.right-panel-active .overlay-left { transform: translateX(0); }
.container.right-panel-active .overlay-right { transform: translateX(20%); }

.remember-forgot-section {
    align-self: stretch;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
    margin-bottom: 20px;
}

.remember-me-section {
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: flex;
}

.remember-me-section input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    border: 1px rgba(0, 0, 0, 0.20) solid;
}

.remember-me-section div {
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: black;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 16.17px;
    word-wrap: break-word;
}

.forgot-password-section {
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: flex;
}

.forgot-password-link {
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: rgba(0, 0, 0, 0.20);
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    text-decoration: none;
}


