*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body {
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}
body.auth-pages {
    background: url('http://apulse.pro/img/background.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    padding-right: 110px;
}
.auth-container {
    background: rgba(0,0,0,0.7);
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
    width: 360px; max-width: 90%;
    color: #fff;
    border: 2px solid #00ffff;
    margin: 20px 0;
}
.auth-container h2 {
    color: #fff;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
    margin-bottom: 25px;
    text-align: center;
    font-size: 28px; font-weight: bold;
}
.auth-container input[type="text"],
.auth-container input[type="password"],
.auth-container input[type="email"],
.auth-container input[type="url"],
.auth-container input[type="number"] {
    width: 100%; padding: 12px 15px; margin: 10px 0;
    background: rgba(0,0,0,0.5);
    border: 1px solid #00ffff;
    border-radius: 5px;
    color: #fff; font-size: 16px; outline: none;
    transition: 0.3s;
}
.auth-container input:focus { border-color: #ff00ff; box-shadow: 0 0 10px #ff00ff; }
.auth-container button {
    width: 100%; padding: 12px; margin-top: 20px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border: none; border-radius: 5px;
    color: #fff; font-weight: bold; font-size: 18px;
    cursor: pointer;
    box-shadow: 0 0 15px #00ffff;
    transition: 0.3s;
}
.auth-container button:hover { box-shadow: 0 0 25px #ff00ff, 0 0 50px #ff00ff; }
.auth-container button:disabled { opacity: 0.5; cursor: not-allowed; background: #888; box-shadow: none; }
.auth-container a { color: #00ffff; text-decoration: none; text-shadow: 0 0 5px #00ffff; }
.auth-container a:hover { color: #ff00ff; text-shadow: 0 0 10px #ff00ff; }
.auth-container .error { color: #ff3366; text-shadow: 0 0 5px #ff3366; }
.auth-container .success { color: #33ff99; text-shadow: 0 0 5px #33ff99; }
.checkbox-container { display: flex; align-items: center; margin: 15px 0; color: #fff; font-size: 14px; }
.checkbox-container input { width: auto; margin-right: 10px; }
@media (max-width: 768px) {
    body.auth-pages { justify-content: center; padding-right: 20px; padding-left: 20px; }
    .auth-container { width: 100%; max-width: 360px; }
}