:root {
    /* Color Palette */
    --bg-dark: #0f172a;       /* Deepest Slate */
    --bg-card: #1e293b;       /* Card Background */
    --text-main: #f8fafc;     /* Bright White */
    --text-muted: #94a3b8;    /* Readable Light Grey */
    --accent-blue: #3b82f6;   /* Primary Brand Color */
    --input-bg: #334155;      /* Input Background */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Card Design --- */
.stp-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; /* Softer corners */
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* --- Typography --- */
h3, h4, h5 { font-weight: 700; letter-spacing: -0.5px; }
.text-brand { color: var(--accent-blue); }

/* --- Form Visibility Fixes --- */
label {
    color: var(--text-muted); 
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block; /* Ensures label takes its own line */
}

.form-control {
    background-color: var(--bg-dark) !important;
    border: 1px solid #475569;
    color: #ffffff !important;
    padding: 12px 15px;
    border-radius: 8px;
}

.form-control:focus {
    background-color: var(--bg-dark) !important;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    color: #ffffff !important;
}

/* Fix browser auto-fill turning inputs yellow/white */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--bg-dark) inset !important;
    -webkit-text-fill-color: white !important;
}

/* --- Buttons --- */
.btn-stp {
    background-color: var(--accent-blue);
    border: none;
    color: white;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
}
.btn-stp:hover {
    background-color: #2563eb;
    color: white;
}