body { margin:0; padding:0; font-family:Arial,sans-serif; background:#f9f9f9; }
header { background: #005699; color:#fff; padding: 10px 0; }
.logo { display:inline-block; vertical-align:middle; margin-left:20px;}
nav { display:inline-block; margin-left:40px; vertical-align:middle; }
nav a { color:#fff; text-decoration:none; margin:0 12px; font-weight:bold;}
nav a:hover {text-decoration:underline;}
main { max-width: 1100px; margin:40px auto; padding: 20px; background:#fff; box-shadow: 0 2px 10px #eee; min-height:400px;}
footer { text-align:center; color:#666; background:#eee; padding: 18px; font-size:.95em; margin-top:50px;}
.error { background:#fdd; color:#900; padding:10px; margin:15px 0;}
.success { background:#dfd; color:#060; padding:10px; margin:15px 0;}
.gallery { display:flex; flex-wrap:wrap; gap:1em; }
.gallery img { max-width:220px; border-radius:6px; box-shadow:0 2px 8px #bbb; margin-bottom:10px;}
form label { display:block; margin:12px 0 3px;}
form input, form textarea { width:100%; max-width:400px; padding:6px; }
.btn {display:inline-block;background:#005699;color:#fff;padding:7px 20px;text-decoration:none;border-radius:3px;}
.btn:hover {background:#003f6f;}
table {border-collapse:collapse; width:100%; margin:20px 0;}
table th, table td {border:1px solid #ccc; padding:8px;}