* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-container {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 auto;
    min-height: 100vh;
    width: 100%;
    height: 100%;
    opacity: 1.0;
    background: url("https://tiptoetech.com/src/imgs/SWASQCWeb/background_index.webp") no-repeat center center fixed;
    background-size: cover;
}

h1 {
    font-size: 3.2rem;
    margin-top: 6rem;
    text-align: center;
    font-weight: lighter;
    color: #fbdc88;
}

.login-panel {
    position: relative;
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    margin: 7rem auto;
    background: transparent;
    padding: 40px 40px;
    border-radius: 8px;
    width: 500px;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.447);
    z-index: 1000;
    color: #ffffff;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: lighter;
    background: linear-gradient(to right, #00ccff, #00ffcc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.form-verify {
    position: relative;
    padding: 10px;
}

.form-verify label {
    display: block;
    padding: 0 15px;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: normal;
    color: #ffffff;
}

.form-verify input[type="text"],
.form-verify input[type="password"] {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    width: 100%;
    cursor: text;
    transition: border 0.3s ease;
}

.form-verify input[type="text"]::placeholder,
.form-verify input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-verify input[type="text"]:focus,
.form-verify input[type="password"]:focus {
    border: 1px solid #00ccff;
    outline: none;
}

.login-panel button {
    margin-top: 16px;
    padding: 12px 15px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(to right, #00ccff, #00ffcc);
    color: #000000;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-panel button:hover {
    background: linear-gradient(to right, #00ffcc, #00ccff);
}

.error-message {
    color: #e74c3c;
    font-size: 1rem;
    margin-top: -14px;
    padding: 0 15px;
    display: none;
}

.user-wrapper {
    position: relative;
}

.user-wrapper input[type="text"] {
    padding-right: 40px;
}

.user-icon {
    position: absolute;
    right: 25px;
    top: 66%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input[type="password"] {
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 25px;
    top: 66%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.password-toggle:hover {
    color: #00ccff;
}

@media (max-width: 1441px) {
    .login-panel {
        width: 40%;
        padding: 30px 20px;
        margin: 4rem auto;
    }

    h1 {
        font-size: 2.5rem;
        margin-top: 4rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 1152px) {
    .login-panel {
        width: 40%;
        padding: 20px 15px;
        margin: 4rem auto;
    }

    h1 {
        font-size: 2rem;
        margin-top: 4rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 900px) {
    .login-panel {
        width: 60%;
        padding: 20px 15px;
        margin: 3rem auto;
    }

    h1 {
        font-size: 1.8rem;
        margin-top: 3rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .form-verify label {
        margin-bottom: 10px;
        font-size: 1rem;
    }
}