/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Main Container */
.main-div {
    height: 100vh;
    background-color: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form Box */
.form-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    width: 350px;
    text-align: center;
}

/* Input Fields */
.user-box {
    position: relative;
    margin-bottom: 30px;
}

.user-box input {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    color: #333;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    background: transparent;
}

.user-box label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    color: #333;
    transition: 0.5s;
    pointer-events: none;
}

.user-box input:focus~label,
.user-box input:valid~label {
    transform: translateY(-25px);
    font-size: 14px;
    color: #555;
}

/* Buttons */
button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: white;
    background-color: #333;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background-color: #555;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #333;
}

/* Toggle Login and Signup */
.hidden {
    display: none;
}

.pb{
    padding-bottom: 20px;
}

h4 {
    margin-top: 15px;
    font-size: 14px;
}

h4 span {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}