﻿:root {
    --bg-1: #0b1220;
    --card: #0f1720;
    --muted: #cbd5e1;
    --accent: #0ea5e9;
    --danger: #f87171;
}

* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

html, body {
    height: 100%;
    margin: 0;
    background: linear-gradient(180deg,#071020 0%,#0b1220 100%);
    color: var(--muted);
}

.register-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

.register-card {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.6);
    border: 1px solid rgba(255,255,255,0.03);
}

    .register-card h2 {
        margin: 0 0 16px 0;
        color: #fff;
        text-align: center;
        font-size: 1.4rem;
    }

.form-group {
    margin-bottom: 14px;
}

    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-size: 0.9rem;
        color: var(--muted);
    }

.form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.02);
    color: #eef2ff;
    font-size: 0.96rem;
    outline: none;
    transition: box-shadow .12s ease, border-color .12s ease, transform .06s ease;
}

    .form-control::placeholder {
        color: rgba(235,245,255,0.25);
    }

    .form-control:focus {
        border-color: rgba(14,165,233,0.9);
        box-shadow: 0 8px 20px rgba(14,165,233,0.06);
        transform: translateY(-1px);
    }

.form-row {
    display: flex;
    gap: 10px;
}

    .form-row .form-group {
        flex: 1;
        margin-bottom: 0;
    }

.text-danger {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 6px;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #07202b;
    box-shadow: 0 8px 20px rgba(14,165,233,0.12);
}

    .btn-primary:hover {
        transform: translateY(-2px);
    }

.form-footer {
    margin-top: 12px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(235,245,255,0.6);
}

    .form-footer a {
        color: var(--accent);
        text-decoration: none;
        font-weight: 600;
    }

        .form-footer a:hover {
            text-decoration: underline;
        }

@media (max-width:480px) {
    .register-card {
        padding: 20px;
        border-radius: 10px;
    }

    .form-row {
        flex-direction: column;
    }
}
