/* Import Font to match screenshot (Clean Sans Serif) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* --- Happilo Brand Colors --- */
    --happilo-green: #093114F0;      /* Dark Green (Primary) */
    --happilo-light: #e6f4ea;      /* Very Light Green (Backgrounds) */
    --happilo-accent: #ccebc5;     /* Soft Green (Prefix Box) */
    --text-dark: #2d3436;
    --text-gray: #b2bec3;
    --white: #ffffff;
    --bg-page: #f8fbf9;            /* Slightly Minty White Background */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-page);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.main-wrapper {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* --- Brand Header --- */
.brand-header {
    margin-bottom: 25px;
}

.logo-circle {
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 24px; /* Soft square like screenshot */
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 104, 55, 0.1);
}

.logo-circle img {
    width: 70px;
    height: auto;
}

.brand-header h2 {
    color: var(--happilo-green);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tagline {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

/* --- Login Card --- */
.login-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 30px; /* High border radius like screenshot */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

/* --- Input Fields Styling --- */
.input-block {
    text-align: left;
    margin-bottom: 20px;
}

.input-block label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
    padding-left: 5px;
}

/* The Container for Inputs (Matches screenshot pill shape) */
.custom-input-group {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1.5px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    height: 52px;
}

.custom-input-group:focus-within {
    border-color: var(--happilo-green);
    box-shadow: 0 4px 12px rgba(0, 104, 55, 0.1);
}

/* Phone Prefix (+91) - The colored box */
.prefix-box {
    background: var(--happilo-accent); /* Light Green Box */
    color: var(--happilo-green);
    height: 100%;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    border-right: 1px solid rgba(0,0,0,0.05);
}

input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0 15px;
    font-size: 15px;
    color: var(--text-dark);
    background: transparent;
    font-weight: 500;
}

/* Icon Styles */
.input-icon {
    padding-left: 15px;
    color: var(--happilo-green); /* Lock icon is green */
    font-size: 14px;
}

.toggle-icon {
    padding-right: 15px;
    color: #a0a0a0;
    cursor: pointer;
    font-size: 15px;
}

.toggle-icon:hover {
    color: var(--happilo-green);
}

/* --- Submit Button --- */
.btn-submit {
    width: 100%;
    background: var(--happilo-green); /* Happilo Dark Green */
    color: var(--white);
    border: none;
    height: 54px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit:hover {
    box-shadow: 0 10px 20px rgba(0, 104, 55, 0.25);
}

/* --- Footer --- */
.footer-links {
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-gray);
}

.footer-links a {
    color: var(--happilo-green);
    font-weight: 700;
    text-decoration: none;
}

.watermark {
    margin-top: 40px;
    font-size: 11px;
    color: #d1d8dd;
    text-transform: uppercase;
    letter-spacing: 1px;
}