﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: #ccc; /* Grey background */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Wrapper to keep login section fixed in mobile view */
/*.wrapper {
    width: 375px;*/ /* Fixed width */
/*height: 100vh;*/ /* Full screen height */
/*background: linear-gradient(to bottom right, #FF6A00, #FF9400);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: fixed;*/ /* ✅ Yeh absolute ki jagah fixed kar */
/*top: 0;*/ /* ✅ Top se touch hoga */
/*left: 50%;
    transform: translateX(-50%);*/ /* ✅ Center fix */
/*display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}*/

.mobile-container {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(to bottom right, #FF6A00, #FF9400);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
    margin: 0 auto;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}



@@media (max-width: 480px) {
    .mobile-container {
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
        margin: 0;
    }
}

.mobile-container::-webkit-scrollbar {
    display: none;
}


.content-wrapper {
    padding-bottom: 100px; /* Increase from 80px */
    min-height: calc(100% - 80px);
}

/* Background with White Curved Section */
.background {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

    /* White Bottom Left Curve */
    .background::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50%;
        height: 25%;
        background: white;
        border-top-right-radius: 850px;
    }

.logo-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(to bottom right, #FF6A00, #FF9400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 30px;
    border: 3px solid white;
}

    .logo-circle img {
        width: 95px;
        height: 96px;
        object-fit: contain;
        filter: brightness(100);
    }

/* Welcome Text */
.welcome-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 160px;
}

/* Login Form */
.login-container {
    background: white;
    padding: 35px 30px; /* Thoda slim aur compact */
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 320px; /* Patla kiya */
    height: 400px; /* Lamba banaya */
    text-align: center;
    position: absolute;
    top: 230px; /* Thoda neeche shift kiya */
}


/* Input Fields */
.input-group {
    display: flex;
    align-items: center;
    height: 40px; /* ✅ Height aur chhoti */
    width: 100%; /* ✅ Pura width le */
    max-width: 370px; /* ✅ Zyada bada na ho */
    border-radius: 30px; /* ✅ Thoda rounded maintain */
    overflow: hidden;
    background: #f9f9f9;
    border: 1px solid #ccc; /* ✅ Soft border */
    padding: 0 15px; /* Box ke andar padding */
}

.phone-input {
    margin-bottom: 40px !important; /* 🔥 Yeh gap pakka badha dega */
}
/* Phone and Password Inputs Styling */
.phone-input, .password-input {
    width: 100%; /* ✅ Full width */
    max-width: 370px; /* ✅ Wider */
    height: 40px; /* ✅ Shorter height */
    margin-bottom: 20px;
    border: 1px solid orange;
}

    /* Andar ka input field properly adjust hoga */
    .phone-input .form-control, .password-input .form-control {
        flex: 1;
        height: 100%;
        font-size: 14px; /* ✅ Readable text */
        padding: 8px 10px; /* ✅ Spacing fix */
        border: none;
        outline: none;
        background: transparent;
    }


.input-group-text {
    font-size: 14px;
    padding-right: 10px;
    * Extra border hatao */
}

/* Forgot Password */
.forgot-password a {
    font-size: 12px;
    color: grey;
    text-decoration: none;
}

/* Login Button */
.login-btn {
    background: linear-gradient(to right, #FF6A00, #FF9400);
    border: none;
    border-radius: 20px; /* Rounded button */
    padding: 8px 0px; /* Height adjust, width controlled by explicit width */
    font-size: 12px; /* Chhota text */
    color: white;
    font-weight: bold;
    transition: 0.3s;
    width: 120px !important;
    height: 35px;
    min-width: unset !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    position: relative;
    top: 60px;
}


    .login-btn:hover {
        background: #FF9400;
    }


.register-text {
    margin-top: 80px;
    font-size: 14px;
}

.register-link {
    color: #FF6A00;
    font-weight: bold;
    text-decoration: none;
}


.bottom-circle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #FF6A00;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    .form-control

{
    flex: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 16px;
    background: transparent;
}

.phone-input {
    margin-bottom: 25px;
}
