
body { font-family: Arial, sans-serif; margin:0; padding:0; background:#f5f7fa; color:#222; }
header, footer { background:#0f172a; color:white; padding:20px; }
nav a { color:white; margin-right:15px; text-decoration:none; }
main { padding:40px; max-width:1000px; margin:auto; background:white; }
h1,h2,h3 { color:#0f172a; }
button { background:#2563eb; color:white; border:none; padding:12px 20px; cursor:pointer; }
.lang { float:right; }


/* Header layout */
.header-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:white; }
.brand img { height:38px; width:auto; }
.nav-links a { color:white; margin-right:14px; text-decoration:none; font-weight:600; opacity:.95; }
.nav-links a:hover { text-decoration:underline; }
.lang-switch { display:flex; gap:8px; align-items:center; }
.lang-switch a { display:inline-flex; border:1px solid rgba(255,255,255,.25); border-radius:8px; padding:6px; }
.lang-switch img { width:22px; height:14px; display:block; border-radius:2px; }

.section { margin:34px 0; }
.card { border:1px solid #e5e7eb; border-radius:14px; padding:18px; background:#fff; box-shadow:0 6px 18px rgba(15,23,42,.06); }
.grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
@media (max-width:900px){ .grid { grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .grid { grid-template-columns:1fr;} .nav-links { display:none; } }

.examples img { width:100%; height:auto; border-radius:10px; border:1px solid #e5e7eb; background:#fff; }
.badge { display:inline-block; background:#e0e7ff; color:#1e3a8a; padding:6px 10px; border-radius:999px; font-weight:700; font-size:12px; }

form label { display:block; margin:10px 0 6px; font-weight:700; }
input[type="text"], input[type="email"], textarea, select { width:100%; padding:12px; border:1px solid #cbd5e1; border-radius:10px; font-size:14px; }
textarea { min-height:130px; resize:vertical; }
input[type="file"] { width:100%; padding:10px; border:1px dashed #94a3b8; border-radius:10px; background:#f8fafc; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:700px){ .form-row { grid-template-columns:1fr; } }

.notice { font-size:13px; color:#475569; }
.success { border-left:4px solid #16a34a; padding:12px; background:#f0fdf4; border-radius:10px; }
.error { border-left:4px solid #dc2626; padding:12px; background:#fef2f2; border-radius:10px; }
