body {
    margin: 0;
    padding: 0;
    font-family: "Inter", Arial, sans-serif;
    background: #f5f7fa;
}

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.left-side {
    flex: 1;
    background-image: url("/static/main.png");

    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
}

.right-side {
    width: 460px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 320px;
}

.logo {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 4px;
}

h2 {
    font-size: 20px;
    margin-bottom: 22px;
    color: #222;
}

label {
    font-size: 14px;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    margin-bottom: 18px;
    border-radius: 6px;
    border: 1px solid #d0d4da;
    font-size: 14px;
    transition: border-color .2s;
}

input:focus {
    border-color: #191a1a;
    outline: none;
}

.primary-btn {
    width: 100%;
    padding: 12px 0;
    background: #150b0b;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
}

.primary-btn:hover {
    background: #494d4d;
}

.sub-links {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
}

.sub-links a {
    color: #150b0b;
    font-size: 14px;
    text-decoration: none;
}

.sub-links a:hover {
    text-decoration: underline;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 28px 32px;
    border-radius: 16px;
    width: 360px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
}

.modal-content form label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 12px;
}

.modal-content form input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d0d4da;
    font-size: 14px;
    margin-bottom: 10px;
}

.modal-content button {
    width: 100%;
    padding: 12px;
    margin-top: 14px;
    border-radius: 8px;
    font-size: 15px;
}

.primary-btn {
    background: #1a1a1a;
    color: white;
    border: none;
}

.primary-btn:hover {
    background: #000;
}

.close-modal {
    background: #666;
    color: white;
    border: none;
}

.close-modal:hover {
    background: #555;
}

.close-modal {
    margin-top: 16px;
    width: 100%;
    background: #555;
    color: white;
    padding: 10px;
    border-radius: 6px;
    border: none;
}

.close-modal:hover {
    background: #333;
}

.error-box {
    padding: 12px;
    background: #ffdddd;
    border: 1px solid #cc0000;
    border-radius: 6px;
    color: #990000;
    margin-bottom: 12px;
}



