body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #071a3f 0%, #1d4ed8 45%, #38bdf8 100%);
    color: #f8fbff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark {
    background: linear-gradient(135deg, #020617 0%, #111827 45%, #1f2937 100%);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    pointer-events: none;
}

.orb-one {
    width: 220px;
    height: 220px;
    background: #38bdf8;
    top: -40px;
    left: -50px;
}

.orb-two {
    width: 260px;
    height: 260px;
    background: #60a5fa;
    bottom: -80px;
    right: -70px;
}

.container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.96);
    color: #14213d;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    width: min(92vw, 520px);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark .container {
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
}

.theme-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    border-radius: 999px;
    padding: 8px 10px;
    cursor: pointer;
}

body.dark .theme-toggle {
    background: rgba(56, 189, 248, 0.16);
    color: #7dd3fc;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.brand-badge {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.9rem;
}

h1 {
    margin: 0;
    text-align: center;
    font-size: 1.8rem;
}

.subtitle {
    text-align: center;
    color: #4b5563;
    margin: 10px 0 20px;
}

body.dark .subtitle,
body.dark .helper-text {
    color: #cbd5e1;
}

.preview-card {
    margin-bottom: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(56, 189, 248, 0.08));
}

.preview-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    margin-bottom: 8px;
}

.preview-box {
    min-height: 110px;
    border: 1px dashed #94a3b8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    color: #64748b;
    background: rgba(255, 255, 255, 0.65);
}

body.dark .preview-box {
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: 600;
    color: #1f2937;
}

body.dark label {
    color: #e2e8f0;
}

input, select, button {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #d6dbe7;
    font-size: 1rem;
}

body.dark input,
body.dark select {
    background: #0f172a;
    color: #f8fafc;
    border-color: #334155;
}

input:focus, select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

button {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #fff;
    cursor: pointer;
    border: none;
    margin-top: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.helper-text {
    text-align: center;
    color: #6b7280;
    font-size: 0.92rem;
    margin: 4px 0 0;
}
