html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 24px;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16222a 0%, #233947 55%, #1a2c38 100%);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.login-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.logo {
    position: absolute;
    top: -64px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4));
}

.admin {
    width: 100%;
    box-sizing: border-box;
    background: #233947;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 20px;
    padding: 72px 40px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .5);
}

.admin h1 {
    color: white;
    font-size: 21px;
    font-weight: 600;
    text-align: center;
    letter-spacing: .3px;
    margin: 0 0 28px;
}

.admin p {
    color: white;
    font-size: 16px;
    text-align: center;
    opacity: .7;
}

.user,
.password {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    background: #1b2b35;
    border-radius: 10px;
    border: 1px solid #2c4653;
    transition: border-color .2s ease;
}

.password {
    margin-top: 16px;
}

.user:focus-within,
.password:focus-within {
    border-color: #00c3a1;
}

.user img,
.password img {
    width: 18px;
    height: 18px;
    opacity: .85;
    flex-shrink: 0;
}

.user input,
.password input {
    flex: 1;
    min-width: 0;
    padding: 2px 0;
    background: transparent;
    color: white;
    border: none;
    font-size: 15px;
}

.user input:focus,
.password input:focus {
    outline: none;
}

.password-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.password-hide-show {
    color: rgba(255, 255, 255, .55);
    font-size: 17px;
    transition: color .2s ease;
}

.password-toggle:hover .password-hide-show {
    color: white;
}

::-webkit-input-placeholder { color: rgba(255, 255, 255, .5); opacity: 1; font-size: 15px; }
:-ms-input-placeholder { color: rgba(255, 255, 255, .5); opacity: 1; font-size: 15px; }
::-moz-placeholder { color: rgba(255, 255, 255, .5); opacity: 1; font-size: 15px; }
:-moz-placeholder { color: rgba(255, 255, 255, .5); opacity: 1; font-size: 15px; }

.submit {
    margin-top: 32px;
}

.submit input[type="submit"] {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
    color: white;
    background: linear-gradient(135deg, #00d3ae, #00997e);
    padding: 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(0, 195, 161, .35);
    transition: transform .15s ease, box-shadow .15s ease;
}

.submit input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 195, 161, .45);
}

.submit input[type="submit"]:active {
    transform: translateY(0);
}

@media (max-width: 512px) {
    body {
        padding: 16px;
    }

    .admin {
        padding: 64px 24px 32px;
    }

    .logo {
        width: 96px;
        top: -52px;
    }
}
