body {
    background-color: rgb(30, 30, 30);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h2 {
    color: #ececec;
    text-align: center;
    margin-bottom: 20px;
    font-size: 35px;
}
@media (max-width: 768px) {
    h2 {
        font-size: 28px;
    }
}

.container {
    width: 90%;
    max-width: 600px;
    padding: 20px;
    margin: 0 auto;
}

.user-login-info,
.login-box {
    display: flex;
    flex-direction: column;
    background: rgba(51, 51, 51, 0.88);
    padding: 35px;
    border-radius: 15px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.user-login-info {
    text-align: center;
    color: #ececec;
}

@media (max-width: 768px) {
    .user-login-info,
    .login-box {
        padding: 20px 15px;
    }
}

#user-avatar {
    width: 100px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin: 0 auto 25px;
    max-width: 100%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.12);
}

input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="number"] {
    width: 100%;
    padding: 15px 20px;
    margin: 10px 0;
    border: 2px solid #3f6d88;
    border-radius: 8px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
	background-color: rgba(51, 51, 51, 0.99);
	color: #ececec;
	font-family: inherit;
	font-size: 14px;
}

input:focus { 
    border-color: #007BFF; 
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.18);
    outline: none;
}

input[type="submit"],
#loginBtn {
    background: #007BFF;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}
input[type="submit"]:hover,
#loginBtn:hover { 
    background: #0069d9;
    transform: translateY(-1px);
}

#loginBtn:disabled {
    background: #6c9ed1;
    cursor: not-allowed;
    transform: none;
}

.register-container {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    color: #ececec;
}

.register-container a, .user-login-info a {
    color: #4aa3ff;
    text-decoration: none;
}

.register-container a:hover, .user-login-info a:hover {
    color: #007BFF;
    text-decoration: underline;
}

label[for="identifier"], 
label[for="password"] {
    text-align: left;
    display: block;
    margin-bottom: 1px;
    color: #ececec;
}
