html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.top-bar {
    min-height: 20px;
}

.footer {
    min-height: 10px;
}

.navbar {
    min-height: 20px;
}

.navbar .container,
.footer .container {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-nav .nav-link {
    padding-top: 2px;
    padding-bottom: 2px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #1f2a37;
    --muted: #607086;
    --brand: #0f6bd8;
    --line: #d9e3ef;
    --ok-bg: #ecfff4;
    --ok-line: #c5efd8;
    --ok-text: #0a8f4c;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", "Segoe UI", sans-serif;
    background: radial-gradient(circle at 90% 0%, #dcecff 0%, var(--bg) 45%), var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.container {
    width: min(900px, 94vw);
    margin: 24px auto;
}

.header {
    background: linear-gradient(120deg, #0f6bd8, #0f8ac0);
    color: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(15, 107, 216, 0.2);
    margin-bottom: 18px;
}

    .header h1 {
        margin: 0;
        font-size: 1.35rem;
    }

    .header p {
        margin: 8px 0 0;
        opacity: 0.95;
    }

.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(12, 28, 54, 0.08);
    margin-bottom: 14px;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tab {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
}

    .tab.active {
        border-color: var(--brand);
        color: var(--brand);
        background: #eaf2ff;
    }

form {
    display: grid;
    gap: 12px;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

input, textarea, button {
    font: inherit;
}

input, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}

textarea {
    min-height: 84px;
    resize: vertical;
}

.btn {
    border: 0;
    background: var(--brand);
    color: #fff;
    padding: 11px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.note {
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 2px;
}

.message {
    background: var(--ok-bg);
    color: var(--ok-text);
    border: 1px solid var(--ok-line);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.92rem;
    display: none;
}

.hidden {
    display: none;
}
