
/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&display=swap');

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --background-light: #f8f9fa;
    --text-dark: #343a40;
    --card-background: rgba(255, 255, 255, 30%); /* Semi-transparent card */
    --border-light: #ced4da;
    --shadow-light: rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: 'Poppins', sans-serif;*/
    font-family: "Montserrat", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('../Images/loginimg2526.jpg') no-repeat center center fixed; /* Replace URL with your image */
    background-size: cover;
    color: var(--text-dark);
}


.input-wrapper {
    position: relative; /* Establish positioning context for absolute child */
    width: 400px; /* Total width of the combined component */
    margin-bottom: 5px;
}

    .input-wrapper input[type="text"], .input-wrapper input[type="password"] {
        width: 100%; /* Input takes full width of the wrapper */
        /*padding: 8px 12px;
        padding-left: 80px;*/ /* Make space for the left-side text */
        padding: 22px 14px 22px 155px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box; /* Include padding and border in width */
        outline: none;
    }

    .input-wrapper .left-text {
        position: absolute;
        left: 1px; /* Adjust to align with border */
        top: 1px; /* Adjust to align with border */
        bottom: 1px; /* Stretch vertically within the input */
        background-color: #fff; /* Background for the text part */
        padding: 8px; /* Padding for the text */
        color: #555;
        border-top-left-radius: 3px; /* Match input's border-radius - 1px */
        border-bottom-left-radius: 3px;
        display: flex; /* Use flex to vertically center content */
        align-items: center; /* Vertically center the text */
        min-width: 65px; /* Minimum width for the text area */
    }

    .input-wrapper input[type="text"]:focus, .input-wrapper input[type="password"]:focus {
        border-color: #66afe9;
        box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
    }


.myH {
    position: fixed;
    /*font-family: "Anton", sans-serif;*/
    /* font-family: "SC Sans Web Thin",sans-serif;*/
    top: 10%;
    padding: 15px 150px 10px 150px;
    color: #ffffff;
    text-align: center;
    /*  font-weight: bold;*/
    margin-bottom: 50px;
    font-size: 3em;
}

.footer {
    position: fixed;
    bottom: 5px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: .8em;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.login-box {
    background-color: var(--card-background);
    padding: 40px 50px;
    /* border-radius: 15px;*/
    box-shadow: 0 10px 30px var(--shadow-light);
    width: 100%;
    max-width: 650px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -100px;
    border: 3px solid #aac2f1;
}

    .login-box::before {
        content: '';
        position: absolute;
        top: -50px;
        left: -50px;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, var(--primary-color) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        opacity: 0.1;
        z-index: 0;
    }

    .login-box h2 {
        font-size: 2.2em;
        margin-bottom: 10px;
        color: var(--primary-color);
        font-weight: 700;
    }

    .login-box h3 {
        font-size: 1.8em;
        margin-bottom: 10px;
        color: var(--primary-color);
        font-weight: 600;
    }

    .login-box p {
        font-size: 0.95em;
        color: var(--secondary-color);
        margin-bottom: 30px;
    }

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

    .input-group input[type="text"],
    .input-group input[type="password"] {
        width: 100%;
        padding: 10px 20px;
        border: 1px solid var(--border-light);
        border-radius: 8px;
        font-size: 1.0em;
        color: var(--text-dark);
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        background-color: var(--background-light);
    }

        .input-group input[type="email"]::placeholder,
        .input-group input[type="password"]::placeholder {
            color: var(--secondary-color);
        }

        .input-group input[type="email"]:focus,
        .input-group input[type="password"]:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
            outline: none;
        }

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
   /* margin-bottom: 25px;*/
    color: var(--secondary-color);
}

    .remember-forgot label {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .remember-forgot input[type="checkbox"] {
        margin-right: 8px;
        accent-color: var(--primary-color);
    }

    .remember-forgot a {
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .remember-forgot a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

.login-button {
    width: 100%;
    padding: 15px 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    /*border-radius: 8px;*/
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
}

    .login-button:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

.social-login {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

    .social-login p {
        margin-bottom: 15px;
        color: var(--secondary-color);
    }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2em;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .social-icon.google {
        background-color: #db4437;
    }

    .social-icon.facebook {
        background-color: #3b5998;
    }

    .social-icon.twitter {
        background-color: #1da1f2;
    }

    .social-icon:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.signup-link {
    margin-top: 30px;
    font-size: 0.95em;
    color: var(--secondary-color);
}

    .signup-link a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .signup-link a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

/* Responsive adjustments */
@media only screen and (min-width: 600px) {
    .myH {
        top: 4%;
        font-size: 3vw;
    }
}

@media only screen and (min-width: 768px) {
}


@media (max-width: 500px) {
    .login-box {
        padding: 30px 20px;
        margin-top: 10px;
    }

        .login-box h2, .login-box h3 {
            font-size: 1.8em;
        }

        .login-box p {
            font-size: 0.85em;
            margin-bottom: 20px;
        }

    .input-wrapper {
        position: relative; /* Establish positioning context for absolute child */
        width: 300px; /* Total width of the combined component */
        margin-bottom: 5px;
    }

    .input-group input {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .myH {
        top: 2%;
        font-size: 6vw;
    }

    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
