:root {
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../images/admin-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
}

.login-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 60px 50px;
    border-radius: 35px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

.login-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.login-container:hover::after {
    left: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    font-size: 2.2rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.login-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 4px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #ffffff;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 16px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-submit:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 35px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.back-link:hover {
    color: #ffffff;
    transform: translateX(-5px);
}

@media (max-width: 480px) {
    body {
        align-items: flex-start;
        background-attachment: scroll;
    }
    .login-container {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 80px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border: none;
        backdrop-filter: blur(40px) saturate(200%);
    }
    .login-header h1 {
        font-size: 2.5rem;
    }
}
