@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url(https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,600,0,0);
@import 'colors.css';

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

.login-wrap {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color_blue_1, #1a6fdb);
    animation: fadeIn .5s ease both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* TOP BLUE SECTION */
.login-top {
    flex: 0 0 auto;
    padding: 60px 32px 0;
    text-align: left;
    position: relative;
    z-index: 2;
}

.login-wrap img {
    width: 100%;
    max-width: 160px;
    margin: 0px auto;
    display: block;
    filter: brightness(0) invert(1);
}

.login-wrap h5 {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin: 20px auto;
    margin-top: 50px;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -.5px;
}

.login-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,.65);
    margin: 0 0 40px;
}

/* WAVE SVG */
.login-wave {
    display: block;
    width: 100%;
    margin-bottom: -2px;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

/* BOTTOM WHITE SECTION */
.login-bottom {
    flex: 1;
    background: #f8fafc;
    padding: 32px 32px 40px;
    position: relative;
    z-index: 2;
}

.login-wrap form {
    display: grid;
    gap: 16px;
    max-width: 450px;
    margin: 0px auto;
}

/* Field wrapper */
.login-wrap .info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* No label above — placeholder handles it */
.login-wrap .info::before {
    display: none;
}

/* Input with left icon space */
.login-wrap .info input {
    padding: 15px 18px 15px 48px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #0f172a;
    width: 100%;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.login-wrap .info input::placeholder {
    color: #94a3b8;
}
.login-wrap .info input:focus {
    border-color: var(--color_blue_1, #1a6fdb);
    box-shadow: 0 0 0 4px rgba(26,111,219,.12);
}

/* Icon inside field */
.login-wrap .info::after {
    content: attr(data-icon);
    font-family: "Material Symbols Outlined";
    font-size: 20px;
    color: #94a3b8;
    position: absolute;
    left: 14px;
    bottom: 15px;
    pointer-events: none;
    transition: color .2s;
}
.login-wrap .info:focus-within::after {
    color: var(--color_blue_1, #1a6fdb);
}

/* Submit */
.login-wrap input[type=submit] {
    margin-top: 4px;
    border: none;
    background: var(--color_blue_1, #1a6fdb);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    border-radius: 12px;
    padding: 16px 10px;
    font-weight: 600;
    font-size: 15px;
    width: 100%;
    cursor: pointer;
    letter-spacing: .02em;
    box-shadow: 0 6px 20px rgba(26,111,219,.35);
    transition: opacity .2s, transform .15s, box-shadow .2s;
}
.login-wrap input[type=submit]:hover {
    opacity: .92;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26,111,219,.45);
}
.login-wrap input[type=submit]:active {
    transform: scale(.98);
}

/* Error */
.login-wrap .error {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #dc2626;
    background: rgba(220,38,38,.07);
    border: 1px solid rgba(220,38,38,.18);
    border-radius: 10px;
    padding: 12px 14px;
}

/* Footer */
.login-wrap p {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
   
    text-align: center;
}

/* Decorative circles on blue bg */
.login-circles {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.login-circles span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.login-circles span:nth-child(1) { width: 180px; height: 180px; top: -60px; right: -40px; }
.login-circles span:nth-child(2) { width: 100px; height: 100px; top: 40px; right: 100px; }
.login-circles span:nth-child(3) { width: 60px;  height: 60px;  top: 120px; right: 30px; }
.login-circles span:nth-child(4) { width: 80px;  height: 80px;  top: 20px;  left: 20px; opacity: .5; }