﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body:before {
    content: '';
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
}

.contact-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 24px;
    padding: 50px 50px 40px;
    width: 340px;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.avatar {
    display: block;
    width: 70px;
    height: 70px;
    margin: 0 auto 8px;
    object-fit: contain;
}

.contact-form h4 {
    margin: 0 0 28px;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
}

.contact-form form > p {
    margin: 0 0 4px;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-form input {
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.contact-form input[type=text],
.contact-form input[type=password] {
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    background: #fafafa;
    color: #000;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input[type=text]:focus,
.contact-form input[type=password]:focus {
    border-color: #000;
    background: #fff;
}

.contact-form input[type=submit] {
    height: 48px;
    margin-top: 10px;
    background: #000;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 10px;
    border: none;
    outline: none;
    transition: background 0.2s ease;
}

.contact-form input[type=submit]:hover {
    background: #333;
}

.contact-form input[type=submit]:active {
    background: #555;
}

.contact-form a {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

input[type=checkbox] {
    width: 20%;
}

.error-message {
    color: #000;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    margin: -10px 0 10px;
    padding: 8px 12px;
    background: #f0f0f0;
    border-radius: 8px;
}
