﻿body {
    margin: 0;
    padding: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    background:
        radial-gradient(ellipse 900px 420px at 0% -10%, rgba(0, 229, 204, 0.12), transparent 55%),
        radial-gradient(ellipse 600px 300px at 100% 100%, rgba(20, 184, 166, 0.06), transparent 50%),
        linear-gradient(160deg, #05070d 0%, #0a0e17 50%, #06080f 100%);
    color: #f1f5f9;
    min-height: 100vh;
}

.container {
    display: flex;
    min-height: 100vh;
}

.left-section {
    flex: 1;
    background: rgba(14, 18, 28, 0.92);
    color: #00e5cc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.left-section h1 {
    font-size: 36px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #00e5cc, #5efff0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.left-section p {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
    color: #94a3b8;
    max-width: 380px;
    line-height: 1.6;
}

.right-section {
    flex: 1;
    background: rgba(10, 13, 20, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px;
}

.right-section h2 {
    font-size: 28px;
    margin-bottom: 24px;
    color: #f1f5f9;
}

form {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
}

input {
    padding: 14px 16px;
    margin-bottom: 16px;
    background: rgba(8, 11, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder {
    color: #64748b;
}

input:focus {
    outline: none;
    border-color: #00e5cc;
    box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.2);
}

.register-button {
    padding: 14px;
    background: linear-gradient(135deg, #00e5cc, #14b8a6);
    color: #0c0a09;
    border: 1px solid rgba(0, 229, 204, 0.45);
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 18px rgba(0, 229, 204, 0.35);
}

.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 229, 204, 0.45);
    filter: brightness(1.06);
}

.redirect-text {
    margin-top: 20px;
    color: #94a3b8;
    text-align: center;
}

.redirect-text a {
    color: #00e5cc;
    text-decoration: none;
    font-weight: 600;
}

.redirect-text a:hover {
    text-decoration: underline;
}

.error-message {
    color: #ef4444;
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .left-section {
        padding: 32px 24px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}
