body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f3f5f9;
    color: #1b2433;
}
header {
    background: #0b2d5b;          /* тёмно-синий «морской» */
    color: #ffffff;
    position: relative;
}
.header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 16px 36px;
    display: flex;
    align-items: center;
    gap: 16px;
}
header h1 { margin: 0 0 4px 0; font-size: 28px; letter-spacing: 0.5px; }
header p { margin: 0; color: #c9d6ea; font-size: 14px; }
.logo {
    width: 64px;
    height: 64px;
    border: 2px solid #c9a54c;    /* золотая рамка */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.emblem {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #c9a54c;
    flex-shrink: 0;
}
.badge {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    border: 1px solid #c9a54c;
    border-radius: 12px;
    color: #f1dfae;
    font-size: 12px;
}
.waves { display: block; width: 100%; height: 40px; }

main {
    max-width: 900px;
    margin: 8px auto 24px;
    padding: 0 16px;
}
.card {
    background: #ffffff;
    border: 1px solid #dfe4ec;
    border-top: 4px solid #c9a54c;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 20px;
}
.card h2 { margin-top: 0; font-size: 20px; color: #0b2d5b; }
form { display: inline; }
.upload { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
button {
    background: #0b2d5b;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 14px;
}
button:hover { background: #154585; }
button.danger { background: #a23a2c; padding: 4px 10px; }
button.danger:hover { background: #c0473a; }
.hint { color: #6b778a; font-size: 14px; }
.message { color: #1d7a3a; font-weight: bold; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #edf0f5; }
th { color: #0b2d5b; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
tr:hover td { background: #f7f9fc; }
a { color: #0b2d5b; font-weight: 600; }
footer {
    text-align: center;
    color: #6b778a;
    font-size: 13px;
    padding: 16px 0 28px;
}

/* ---------- файлообменник со ссылками ---------- */
a.home { color: #ffffff; text-decoration: none; font-weight: 700; }
.share-form { display: flex; flex-direction: column; gap: 16px; }
.drop {
    display: block;
    border: 2px dashed #9fb1cc;
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    background: #f7f9fc;
    cursor: pointer;
}
.drop span { display: block; margin-top: 8px; color: #6b778a; font-size: 14px; }
.row { display: flex; gap: 20px; flex-wrap: wrap; }
.row label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #0b2d5b; flex: 1; min-width: 200px; }
select, input[type=password], input[type=text] {
    padding: 8px 10px;
    border: 1px solid #c8d1de;
    border-radius: 4px;
    font-size: 14px;
}
button.big, .button.big { font-size: 16px; padding: 12px 24px; }
.button {
    display: inline-block;
    background: #0b2d5b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    padding: 8px 18px;
}
.button:hover { background: #154585; }
.success { border-top-color: #2e8b57; }
.link-box { display: flex; gap: 8px; }
.link-box input { flex: 1; font-size: 15px; }
.info { width: auto; margin-bottom: 20px; }
.info td { padding: 6px 24px 6px 0; border: none; }
.info td:first-child { color: #6b778a; }
.password-form { display: flex; gap: 10px; flex-wrap: wrap; }
.message.error { color: #a23a2c; }
.center { text-align: center; }
.how ol { margin: 0; padding-left: 20px; line-height: 1.8; }
footer p { margin: 4px 0; }
footer .small { font-size: 12px; color: #8a94a5; }
