/* /assets/css/login-style.css */

:root {
    --primary-color: #0052cc;
    --primary-hover: #0041a3;
    --text-color: #333;
    --white-color: #ffffff;
    --danger-color: #de350b;
    --border-radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    margin: 0;
    padding: 1rem;
}

.login-container {
    width: 100%;
    max-width: 480px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.logo-img {
    height: 50px;
    margin-bottom: 1.5rem;
}

h2 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

p {
    color: #666;
    margin-bottom: 2rem;
}

form {
    text-align: left;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

input {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box; 
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.2);
}

button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 1rem;
}

button:hover {
    background: var(--primary-hover);
}

.signup-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.signup-link a {
    color: var(--primary-color);
    font-weight: 600;
}

.error {
    text-align: left;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--danger-color);
    background-color: #ffebe6;
    color: var(--danger-color);
}

/* Add this to the end of /assets/css/login-style.css */

/* -- Styles for the 6-Digit OTP Input -- */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between the boxes */
    margin: 1.5rem 0;
}

.otp-input {
    width: 45px;
    height: 55px;
    font-size: 1.8rem;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    transition: all 0.2s ease-in-out;
    padding: 0; /* Remove default padding */
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.2);
}