* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.35), transparent 28%),
        linear-gradient(145deg, #020617 0%, #0f172a 55%, #1e293b 100%);
}

.register-container {
    width: 100%;
    max-width: 420px;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.register-logo {
    margin-bottom: 22px;
    text-align: center;
}

.register-logo h1 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 24px;
}

.register-logo p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.register-invite-note {
    margin-bottom: 18px;
    padding: 11px 12px;
    border-radius: 10px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 13px;
    line-height: 1.5;
}

.register-error {
    display: none;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #b91c1c;
    background: #fef2f2;
    font-size: 13px;
    line-height: 1.5;
}

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

.register-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 500;
}

.register-form-group input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    color: #0f172a;
    font-size: 14px;
}

.register-form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.register-form-group input[readonly] {
    color: #2563eb;
    background: #f8fbff;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.register-button {
    width: 100%;
    height: 44px;
    margin-top: 6px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.register-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.register-login-link {
    display: block;
    margin-top: 16px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
}

.register-login-link:hover {
    color: #2563eb;
}

@media (max-width: 480px) {
    .register-container {
        padding: 24px 18px;
    }
}
