/* ═══════════════════════════════════════════════════
   SMARTCENTRE — REGISTRATION PAGE DESIGN
   ═══════════════════════════════════════════════════ */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #0ea5e9;
    --dark: #0f172a;
    --slate: #334155;
    --slate-light: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --radius: 14px;
    --shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    color: var(--dark);
}

.register-container {
    width: 100%;
    max-width: 860px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 32px 36px 28px;
    text-align: center;
    border-bottom: 3px solid var(--primary);
    position: relative;
}

.header-banner .badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-banner h1 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.header-banner p {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 580px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.trial-perks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    font-size: 0.82rem;
    color: #cbd5e1;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trial-perks span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trial-perks svg {
    color: var(--success);
    flex-shrink: 0;
}

.form-content {
    padding: 36px;
}

.section-legend {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-legend svg {
    color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
    margin-bottom: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group.span-2 {
    grid-column: span 2;
}

.form-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--slate);
}

.form-label .required {
    color: var(--danger);
    margin-left: 2px;
    font-weight: 700;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.form-control {
    width: 100%;
    height: 44px;
    padding: 10px 14px 10px 42px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--dark);
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-control.has-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.field-error-msg {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    line-height: 1.3;
}

.field-error-msg svg {
    flex-shrink: 0;
    color: #dc2626;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' 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 14px center;
    background-size: 16px;
    padding-right: 38px;
    cursor: pointer;
}

.file-upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 14px 18px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-box:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-preview-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--border);
    display: none;
}

.btn-submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.02rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -6px rgba(37, 99, 235, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--slate-light);
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

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

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

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .form-group.span-2 {
        grid-column: span 1;
    }
    .header-banner {
        padding: 24px 20px;
    }
    .form-content {
        padding: 24px 20px;
    }
}
