@import "https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;700;800&family=Roboto:wght@100;300;400;500;700;900&display=swap";

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

body {
    background: #fff;
}

.container {
    min-height: 100vh;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 1em;
    display: flex;
    flex-direction: column;
}

.contentSec {
    padding: 2em 0 1.5em;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}

.logo img {
    width: 100%;
    max-width: 80px;
    height: auto;
}

.hometitle {
    font-size: 1.3em;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin: 0;
}

.title {
    font-size: 0.95em;
    font-weight: 500;
    color: #000;
    line-height: 1.5em;
    text-align: center;
    padding: 0 1em;
    margin: 0;
}

/* Login Form Styles */
.loginWrapper {
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 1.5em;
}

.loginSec {
    width: 100%;
    max-width: 350px;
}

label {
    display: block;
    font-size: 0.85em;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5em;
}

.formInput {
    display: flex;
    align-items: center;
    background: #fff;
    width: 100%;
    height: 50px;
    border: none;
    border-bottom: 1px solid #d0d0d0;
    margin-bottom: 0.3em;
    padding: 0;
}

.formInput input {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 0.95em;
    padding: 0;
    background: transparent;
}

.formInput input::placeholder {
    color: #999;
    font-size: 0.95em;
    font-weight: 400;
}

.formInput input:focus {
    outline: none;
}

.formInput.passwordInput {
    position: relative;
}

.eyeIcon {
    color: #666;
    cursor: pointer;
    padding-left: 0.5em;
    display: flex;
    align-items: center;
}

.eyeIcon svg {
    width: 1.2em;
    height: 1.2em;
}

.forgotPassword {
    text-align: right;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

.forgotPassword a {
    font-size: 0.85em;
    font-weight: 500;
    color: #860631;
    text-decoration: none;
}

.loginBtn {
    width: 100%;
    height: 50px;
    border-radius: 7px;
    outline: none;
    border: none;
    font-size: 1.1em;
    font-weight: 600;
    background: #860631;
    color: #fff;
    margin: 0;
    cursor: pointer;
}

.loginBtn:active {
    background: #6d0527;
}

/* Signup Info Section */
.signupInfo {
    margin-top: 2em;
    padding-bottom: 2em;
}

.infoP {
    font-size: 0.85em;
    color: #333;
    margin-bottom: 0.8em;
}

.infoP a {
    color: #860631;
    font-weight: 600;
    text-decoration: none;
}

.signupInfo ul {
    list-style: none;
    padding-left: 0;
}

.signupInfo ul li {
    font-size: 0.8em;
    color: #555;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

/* Form Section for other pages */
.formSec {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    background: #fff;
    padding: 1.5em 0;
    flex: 1;
}

form {
    padding: 0;
    margin: 0;
}

.input {
    padding: 0;
}

/* PIN Input Styles */
.formPin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8em;
    margin-bottom: 1.5em;
}

.formPin input {
    width: 45px;
    height: 50px;
    outline: none;
    font-weight: 700;
    font-size: 1.5em;
    background: #fff;
    text-align: center;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.formPin input:focus,
.formPin input:focus-visible,
.formPin input:focus-within {
    border: 1.5px solid #860631;
    box-shadow: 0 2px 4px rgba(134, 6, 49, 0.2);
}

/* OTP Input Styles */
.formOtp {
    display: flex;
    align-items: center;
    text-align: center;
    background: #fff;
    width: 100%;
    height: 50px;
    border: 1px solid #898787;
    border-radius: 7px;
    margin-bottom: 1em;
}

.formOtp input {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 1em;
    text-align: center;
    font-weight: 500;
    padding: 0 1em;
}

.buttonSec {
    padding: 0;
    margin: 0;
}

button {
    width: 100%;
    max-width: 350px;
    height: 50px;
    border-radius: 7px;
    outline: none;
    border: none;
    font-size: 1.1em;
    font-weight: 500;
    background: #860631;
    color: #fff;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

button:active {
    background: #6d0527;
}

.errorMessage {
    color: red;
    font-size: 0.85em;
    text-align: left;
    display: block;
    margin-bottom: 0.8em;
    min-height: 1em;
}

.error-message {
    color: red;
    font-size: 0.85em;
    font-weight: 500;
    text-align: center;
    margin-top: 0.4em;
}

.logo img {
    width: 100%;
    max-width: 40%;
}