﻿/* ========================= */
/* Global Styles */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f0f4f8;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Wave Background */
.wave {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

/* Container: 2 columns */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    padding: 0 2rem;
}

/* Left Illustration */
.img {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    .img img {
        width: 80%;
    }

/* Right Login Card */
.login-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    width: 360px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

/* Avatar */
.login-content img.avatar {
    width: 250px;
    margin-bottom: 15px;
}

/* Title */
.login-content h2.title {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Input Div */
.input-div {
    position: relative;
    display: grid;
    grid-template-columns: 10% 90%;
    margin: 15px 0;
    padding: 5px 0;
    border-bottom: 2px solid #d9d9d9;
}

    .input-div.one {
        margin-top: 0;
    }

    .input-div.pass {
        margin-bottom: 5px;
    }

/* Icon */
.i {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
}

    .i i {
        transition: 0.3s;
    }

/* Floating Label */
.input-div > div {
    position: relative;
    height: 45px;
}

    .input-div > div > h5 {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        font-size: 16px;
        pointer-events: none;
        transition: 0.3s;
    }

/* Focus effect */
.input-div.focus > div > h5 {
    top: -10px;
    font-size: 12px;
    color: #1B285C;
}

.input-div.focus > .i > i {
    color: #1B285C;
}

/* Input Field */
.input-div > div > input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    font-size: 16px;
    color: #555;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(to right, #1B285C, #1B285C);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    margin: 15px 0;
    transition: 0.4s;
}

    .btn:hover {
        opacity: 0.9;
    }

/* Secondary Button for OTP resend */
.secondary-btn {
    background: #f5f5f5;
    color: #333;
}

/* Links */
.verify-mobile, .create-account, .back-login {
    display: block;
    color: #FA9602;
    margin-top: 10px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

    .verify-mobile:hover, .create-account:hover, .back-login:hover {
        text-decoration: underline;
    }

/* OTP Label */
#<%= lblTimer.ClientID % > {
    display: block;
    margin: 5px 0 10px 0;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .img {
        display: none;
    }

    .login-content form {
        margin: 0 auto;
    }
}
