body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f6f7fb;
    color: #222;
}

.site-header {
    background-color: #1a1f36;
    color: #fff;
    padding: 1.5rem 2rem;
}

.site-header__content {
    max-width: 960px;
    margin: 0 auto;
}

.site-main {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.site-footer {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    padding: 2rem 0;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(19, 32, 68, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field input,
.form-field select {
    padding: 0.75rem 1rem;
    border: 1px solid #ccd0e5;
    border-radius: 6px;
    font-size: 1rem;
}

.form-actions {
    grid-column: 1 / -1;
    text-align: right;
}

.btn-primary {
    background-color: #0052cc;
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.alert.success {
    background-color: #e1f7e3;
    color: #0b6d2b;
}

.alert.error {
    background-color: #fdecea;
    color: #a12c2c;
}

.helper-text {
    display: block;
    margin-top: 0.5rem;
    color: #555;
    font-size: 0.85rem;
}

.search-card {
    margin: 1.5rem 0;
}

.search-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.search-row input {
    flex: 1 1 auto;
}

.btn-secondary {
    background-color: #e0e3f5;
    color: #1a1f36;
    border: none;
    padding: 0.65rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #c7cbee;
}

.search-results {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    border: 1px solid #ccd0e5;
    border-radius: 6px;
    max-height: 220px;
    overflow-y: auto;
}

.search-results li {
    padding: 0.5rem 0.9rem;
    border-bottom: 1px solid #e4e7f2;
    cursor: pointer;
    background: #fff;
    transition: background 0.15s ease;
}

.search-results li strong {
    display: block;
    font-weight: 600;
    color: #1a1f36;
}

.search-result-name {
    display: block;
    font-size: 0.85rem;
    color: #515b75;
    margin-top: 0.15rem;
}

.search-results li:last-child {
    border-bottom: none;
}

.search-results li.empty {
    cursor: default;
    color: #707a91;
    font-style: italic;
}

.search-results li:hover:not(.empty) {
    background: #f0f2ff;
}

.search-hint {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: #6d7390;
}
