/* Base Styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body,
html {
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    background-color: black;
    color: var(--primary-color);
    overflow-x: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* login.css */
.background {
    width: 90vw;
    height: 60vh;
    max-width: 620px;
    max-height: 490px;
    position: relative;
    transform: translateY(-10%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape {
    height: 200px;
    width: 200px;
    position: absolute;
    border-radius: 30px;
    transition: all 0.3s;
    z-index: 1;
}

.shape--left {
    background: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
    left: -90px;
    top: -60px;
}

.shape--right {
    background: linear-gradient(to right, #220d12, #f18c7b);
    right: -70px;
    bottom: -60px;
}

@media only screen and (min-width: 550px) {
    .shape--left {
        left: -3px;
        top: -95px;
    }

    .shape--right {
        right: 0px;
        bottom: -80px;
    }

    button,
    i,
    a {
        cursor: pointer;
    }
}

/* Form Styles */
.form {
    background-color: rgba(255, 255, 255, 0.13);
    /* Kept original semi-transparent white */
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    box-shadow: 0 0 40px var(--shadow-color);
    padding: 50px 35px;
    position: absolute;
    z-index: 999;
}

.form * {
    color: var(--primary-color);
    letter-spacing: 0.5px;
    outline: none;
    border: none;
}

.form__title {
    font-size: 32px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
    color: var(--primary-color);
}

.form__label {
    display: block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
}

.form__input {
    display: block;
    height: 50px;
    width: 100%;
    background-color: var(--secondary-bg);
    border-radius: 3px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
    color: var(--primary-color);
    border: 1px solid var(--primary-border);
}

::placeholder {
    color: var(--placeholder-color);
}

.form__button {
    margin-top: 50px;
    width: 100%;
    background-color: var(--button-bg);
    color: var(--button-text);
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form__button:hover {
    opacity: 0.9;
}

.form__footer {
    margin-top: 20px;
}

.form__link {
    text-decoration: underline;
    color: var(--link-color);
    transition: all 0.3s ease;
}

.form__link:hover {
    opacity: 0.8;
}

.form__input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.form__toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-30%);
    cursor: pointer;
    color: #000;
}

@media (min-width:800px) {
    .form {
        width: 75%;
    }
}

/* Add these variables to your :root or CSS variables */
:root {
    --primary-bg: #ffffff;
    --secondary-bg: #e8e9e8;
    --primary-color: rgb(129, 128, 128);
    --primary-border: #0e0e0e0a;
    --primary-shadow: rgba(0, 0, 0, 0.089);
    --placeholder-color: #888888;
    --button-bg: #ffffff;
    --button-text: #363636;
    --link-color: #fc8a2d;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
}