body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #f4f6f8 0%, #e8eef2 100%);
    color: #173042;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.auth-card,
.menu-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #d7e0e6;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(23, 48, 66, 0.10);
    padding: 32px;
    box-sizing: border-box;
}

.menu-card {
    max-width: 760px;
}

.auth-title,
.menu-title {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.auth-subtitle,
.menu-subtitle {
    margin: 0 0 24px;
    color: #4a6578;
    line-height: 1.5;
}

.auth-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.auth-alert-error {
    background: #fdecec;
    border: 1px solid #f3b6b6;
    color: #8a1f1f;
}

.auth-alert-success {
    background: #edf9f0;
    border: 1px solid #b8e0c0;
    color: #1f6b33;
}

.auth-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.auth-input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid #b9c9d4;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    background: #fbfdfe;
}

.auth-input:focus {
    outline: none;
    border-color: #2d6f9c;
    box-shadow: 0 0 0 3px rgba(45, 111, 156, 0.15);
}

.auth-button,
.menu-button {
    display: inline-block;
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    background: #1d5f8b;
}

.auth-button:hover,
.menu-button:hover {
    background: #164d71;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.menu-tile {
    padding: 18px;
    border: 1px solid #d7e0e6;
    border-radius: 14px;
    background: #f8fbfd;
}

.menu-tile h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.menu-tile p {
    margin: 0;
    color: #4a6578;
    line-height: 1.5;
}

.menu-link {
    display: inline-block;
    margin-top: 12px;
    color: #1d5f8b;
    font-weight: 600;
    text-decoration: none;
}

.menu-link:hover {
    text-decoration: underline;
}

.menu-meta {
    margin-bottom: 24px;
    color: #4a6578;
}

.menu-actions {
    display: flex;
    justify-content: flex-end;
}

.menu-actions-top {
    margin-bottom: 20px;
}

.upload-card {
    max-width: 820px;
}

.upload-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.upload-list-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #d7e0e6;
}

.upload-list-title {
    margin: 0 0 16px;
    font-size: 20px;
}

.upload-list {
    margin: 0;
    padding-left: 20px;
}

.upload-list li {
    margin-bottom: 12px;
    color: #173042;
    line-height: 1.5;
}

.municipal-search-input {
    margin-bottom: 16px;
}

.municipal-search-status {
    margin: 8px 0 0;
    color: #4a6578;
    font-size: 14px;
}

.db-list {
    margin: 24px 0;
    padding-left: 20px;
}

.db-list li {
    margin-bottom: 10px;
    color: #173042;
}

.db-empty {
    margin: 24px 0;
    color: #8a1f1f;
}
