/*
 * dentisti.pro — Public Signup Surface
 * Isolated, self-contained visual system for the registration gateway.
 */

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --slate: #0f172a;
    --glass: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.mesh-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    filter: blur(100px);
    opacity: 0.5;
}

.circle { position: absolute; border-radius: 50%; width: 600px; height: 600px; }
.c1 { background: rgba(79, 70, 229, 0.15); top: -200px; left: -200px; }
.c2 { background: rgba(99, 102, 241, 0.1); bottom: -100px; right: -100px; }

.signup-container {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.02),
        0 30px 60px -12px rgba(0,0,0,0.08),
        0 18px 36px -18px rgba(0,0,0,0.05);
    max-width: 500px;
    width: 100%;
    padding: 56px;
    color: var(--slate);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.logo h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    letter-spacing: -1.5px;
}

.logo p { color: #64748b; font-size: 15px; font-weight: 500; }

.trial-badge {
    display: inline-flex;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #475569;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input, select {
    width: 100%;
    padding: 16px 20px;
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    font-size: 15px;
    color: var(--slate);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 42px;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(79, 70, 229, 0.1);
    transform: translateY(-1px);
}

.btn {
    background: var(--slate);
    color: white;
    padding: 20px;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.2);
    font-family: 'Outfit', sans-serif;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    background: var(--primary);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 20px 30px -10px rgba(79, 70, 229, 0.3);
}

.btn:disabled {
    opacity: 0.7;
    pointer-events: none;
}

.alert {
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 24px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.footer-links { text-align: center; margin-top: 32px; font-size: 14px; color: #64748b; font-weight: 500; }
.footer-links a { color: var(--primary); text-decoration: none; font-weight: 700; }

small { color: #94a3b8; display: block; margin-top: 6px; font-size: 12px; font-weight: 600; }

@media (max-width: 640px) {
    .signup-container { padding: 36px 24px; border-radius: 24px; }
    .logo h1 { font-size: 28px; }
}
