body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'SF pro', monospace; 
}

.register-container {
    background: #333333;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    width: 350px;
    max-width: 90%; 
    margin: 20px auto;
}

.register-container:hover {
    background: #111111;
    box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc, 0 0 40px #00ffcc;
}

h2 {
    color: #00ffcc;
    text-align: center;
    margin-bottom: 20px;
}

.form-errors {
    margin-bottom: 15px;
    color: #ff6b6b;
    text-align: left;
    padding: 10px;
    border: 1px solid #ff6b6b;
    border-radius: 3px;
    background-color: rgba(255, 107, 107, 0.1);
    font-size: 0.9em;
}
.form-errors p {
    margin: 5px 0;
}

#telegram-login-widget {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.register-form p {
    margin-bottom: 15px;
}

.register-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #cccccc;
}

.register-form input[type="text"],
.register-form input[type="password"],
.register-form input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 3px;
    background-color: #1a1a1a;
    color: #ffffff;
    box-sizing: border-box;
    font-family: 'SF pro', monospace;
    font-size: 1em;
}

.register-form input[type="text"]:focus,
.register-form input[type="password"]:focus,
.register-form input[type="email"]:focus {
    border-color: #00ffcc;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
}

.register-button {
    width: 100%;
    padding: 10px;
    background-color: #00ffcc;
    color: #1a1a1a;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'SF pro', monospace;
    transition: background-color 0.3s, color 0.3s;
    font-size: 1em;
    font-weight: bold;
    margin-top: 10px;
}

.profile-button:hover {
    background-color: #00cc99;
    color: #ffffff;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

@media (max-width: 480px) {
    .register-container {
        width: 95%;
        padding: 20px;
        margin: 10px auto;
    }
}
