:root {
    --spa-emerald: #059669;
    --luxury-dark: #1f2937;
    --luxury-slate: #4b5563;
    --soft-bg: #fdfcfb;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--soft-bg);
    color: var(--luxury-dark);
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

.registro-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.registro-card {
    background: #fff;
    border-radius: 30px;
    padding: 48px;
    max-width: 520px;
    width: 100%;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.brand-logo {
    height: 48px;
    margin-bottom: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.registro-title {
    font-weight: 700;
    font-size: 2.22rem;
    color: var(--luxury-dark);
    margin-bottom: 8px;
    text-align: center;
}

.registro-subtitle {
    font-size: 1.1rem;
    color: var(--luxury-slate);
    margin-bottom: 32px;
    text-align: center;
}

.form-label {
    font-weight: 600;
    color: var(--luxury-dark);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    transition: all 0.2s;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--spa-emerald);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
    background: #fff;
    outline: none;
}

.btn-luxury {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

.btn-luxury-primary {
    background: linear-gradient(135deg, var(--spa-emerald) 0%, #064e3b 100%) !important;
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-luxury-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
    z-index: -1;
}

.btn-luxury-primary:hover::before {
    left: 100%;
}

.btn-luxury-primary:hover:not(:disabled) {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.5);
}

.btn-luxury-outline {
    background: transparent !important;
    border: 2px solid var(--spa-emerald) !important;
    color: var(--spa-emerald) !important;
}

.btn-luxury-outline:hover:not(:disabled) {
    background: rgba(5, 150, 105, 0.05) !important;
    transform: translateY(-2px);
}

.btn-luxury:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #ccc !important;
    box-shadow: none !important;
    color: #666 !important;
}

.registro-link {
    transition: all 0.2s;
    color: var(--spa-emerald);
    font-weight: 700;
    text-decoration: none;
}

.registro-link:hover {
    color: #064e3b;
    text-decoration: underline;
}

/* Utilities */
.text-slate-400 {
    color: #94a3b8 !important;
}

.text-slate-500 {
    color: #64748b !important;
}

.text-slate-600 {
    color: #475569 !important;
}

.text-blue-500 {
    color: #3b82f6 !important;
}

/* Icon Wrapper (Success States) */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* Plan Badge */
.plan-badge {
    background: #ecfdf5;
    color: var(--spa-emerald);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Success Badge & Trial Banner (Common elements) */
.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--spa-emerald);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.trial-banner {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    text-align: left;
}

.trial-icon {
    background: #f59e0b;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

.form-section-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: #e2e8f0;
}


/* Mobile adjustments */
@media (max-width: 576px) {
    .registro-card {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .registro-title {
        font-size: 1.8rem;
    }
}

/* Bootstrap 5 Fallbacks */
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: .375rem;
    opacity: .5;
    transition: opacity .15s ease-in-out;
    cursor: pointer;
    position: absolute !important;
    top: 0.5rem !important;
    right: 0.5rem !important;
    z-index: 2;
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: .75;
}

.alert-dismissible {
    padding-right: 3rem !important;
    position: relative;
}