﻿* {
    box-sizing: border-box;
    font-family: Arial;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

form {
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 0 50px;
    height: 500px;
    justify-content: center;
    align-items: center;
}

/* INPUT BOX */
.input-box {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

/* INPUT */
.input-box input {
  width: 100%;
  padding: 14px 45px; /* 👈 space for icon */
  border: 2px solid #ddd;
  border-radius: 12px;
  outline: none;
  font-size: 16px;
  background: #fff;
  transition: 0.3s;
}

/* LEFT ICON */
.input-box .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #7b2ff7;
}

/* LABEL */
.input-box label {
  position: absolute;
  left: 40px; /* 👈 icon ke baad */
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 14px;
  background: #fff;
  padding: 0 5px;
  transition: 0.3s;
  pointer-events: none;
}

/* 🔥 FOCUS EFFECT */
.input-box input:focus {
  border-color: #7b2ff7;
  box-shadow: 0 0 10px rgba(123, 47, 247, 0.4);
}

/* 🔥 FLOAT LABEL */
    .input-box input:focus ~ label,
    .input-box input:not(:placeholder-shown) ~ label {
        top: -10px;
        left: 45px;
        font-size: 13px;
        color: #6C3EF4;
        background: #fff;
        padding: 0 5px;
    }

button {
    border-radius: 20px;
    border: none;
    padding: 12px 45px;
    background: #12294D;
    color: white;
    cursor: pointer;
}

    button.ghost {
        background: transparent;
        border: 1px solid #fff;
    }

.form-box {
    width:450px;
    height:500px;
    position:relative;
    overflow:hidden;
    margin:auto;
}

/* By default SignUp hidden */

.sign-up {
    display: none;
}

/* SignIn visible */

.sign-in {
    display: block;
}

/* Active */

.form.active {
    display: block;
}

.form.hide {
    display: none;
}

body {
    /*background: linear-gradient( -45deg, #ff0080, #7928ca, #2afadf, #4c83ff, #ff4d4d );*/
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: Arial;
    background: #e2e2e2
}

    .form-container {
  z-index: 2;
}


.modal {
    position: fixed;
    inset: 0;
    background: transparent;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .modal.active {
        display: flex;
    }

.modal-box {
    width: 400px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0,0,0,.3);
}

.modal-input {
    width: 100%;
    height: 50px;
    margin-top: 15px;
    padding-left: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
}

.modal-box button {
    width: 100%;
    height: 50px;
    margin-top: 20px;
    border: none;
    border-radius: 30px;
    background: #12294D;
    color: #fff;
    cursor: pointer;
}

.otp-box {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

    .otp-box input {
        width: 50px;
        height: 55px;
        text-align: center;
        font-size: 22px;
    }

.forgot-text {
    margin-top: 10px;
    cursor: pointer;
    color: #ff4b2b;
}
.resend-text {
    margin-top: 15px;
    color: #666;
}

.resend-btn {
    display: none;
    color: #ff4b2b;
    cursor: pointer;
    margin-top: 10px;
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    z-index: 99999;
    pointer-events: auto;
}
#eye {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    display: none;
    color: #555;
}
#eye1 {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    display: none;
    color: #555;
}

.login-links {
    margin-top: 20px;
    text-align: center;
}

.forgot-password {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 16px;
    color: #1d3157;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

    .forgot-password:hover {
        color: #0d6efd;
        text-decoration: underline;
    }

.switch-link {
    margin: 0;
    font-size: 16px;
    color: #333;
}

    .switch-link a {
        color: #0d6efd;
        font-weight: 600;
        text-decoration: none;
    }

        .switch-link a:hover {
            text-decoration: underline;
        }