
body {
    background-color: var(--bg-dark);
    font-family: 'Ubuntu', sans-serif;
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.register-wrapper {
    width: 100%;
    max-width: 650px; /* Más ancho que el login */
}

/* Header & Logo */
.register-header { text-align: center; margin-bottom: 30px; }

/* Card */
.register-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-top-bar { height: 4px; background: var(--primary); }
.card-content { padding: 40px; }

h2 { font-size: 1.2rem; letter-spacing: 1px; margin-bottom: 8px; text-align: center; }
.subtitle { color: var(--text-main); font-size: 0.85rem; text-align: center; margin-bottom: 30px; }

/* Formulario */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.half-width { flex: 1; }

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 8px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: #060a11;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0 12px;
    transition: 0.3s;
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(159, 239, 0, 0.2);
}

.prefix {
    color: var(--primary);
    font-family: var(--font-mono);
    margin-right: 10px;
    font-weight: bold;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

/* Medidor de contraseña */
.password-strength {
    height: 4px;
    background: #1e293b;
    margin-top: 8px;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
}

/* Sección de Invitación */
.invite-section {
    background: rgba(159, 239, 0, 0.05);
    padding: 15px;
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    margin-bottom: 25px;
}

.invite-wrapper { padding-right: 0; }

.btn-verify {
    background: transparent;
    color: var(--primary);
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 0 15px;
    height: 100%;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-verify:hover { background: rgba(159, 239, 0, 0.1); }
.invite-msg { font-size: 0.75rem; margin-top: 8px; font-family: var(--font-mono); height: 15px; }

/* Checkbox Terms */
.terms-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.8rem;
    color: var(--text-main);
}

.terms-group input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Botón Registro */
.register-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.register-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Footer */
.auth-footer { margin-top: 25px; text-align: center; font-size: 0.85rem; }
.text-muted { color: var(--text-main); margin-right: 5px; }
.auth-footer a { color: var(--primary); text-decoration: none; font-weight: bold; }
.auth-footer a:hover { text-decoration: underline; }

.system-status { margin-top: 20px; text-align: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-main); }
.text-green { color: var(--primary); }
.dot { height: 8px; width: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; background: var(--primary); }
.green-pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(159, 239, 0, 0.4); } 100% { box-shadow: 0 0 0 10px rgba(159, 239, 0, 0); } }

/* Responsive para móviles */
@media (max-width: 600px) {
    .form-row { flex-direction: column; gap: 0; }
    .half-width { margin-bottom: 20px; }
}