html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
}

body {
    background:
        linear-gradient(rgba(245, 247, 251, 0.20), rgba(245, 247, 251, 0.30)),
        url('/static/public-bc.png') no-repeat center center fixed;
    background-size: cover;
}

.public-header {
    width: 100%;
    background: #174f2b;
    color: #ffffff;
    border-bottom: 0.18rem solid #0f2f19;
}

.public-header-inner {
    width: 92%;
    margin: 0 auto;
    padding: 1.2% 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand a,
.public-nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 1.2rem;
}

.public-main {
    width: 92%;
    margin: 0 auto;
    padding: 2% 0 4% 0;
}

.hero,
.page-header,
.form-shell,
.table-shell,
.card {
    background: rgba(232, 244, 234, 0, 0.32);
    backdrop-filter: blur(0.35rem);
    -webkit-backdrop-filter: blur(0.35rem);
    border: 0.08rem solid rgba(31, 107, 50, 0.22);
    border-radius: 0.8rem;
    padding: 3%;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.08);
    margin-bottom: 2%;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5%;
}

.button-row {
    margin-top: 1.5%;
}

.button,
.auth-form button,
.inline-form button {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 0.5rem;
    background: #1f6b3a;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.button.secondary {
    background: #355e3b;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.auth-form input {
    padding: 0.8rem;
    border: 0.08rem solid #cbd5e1;
    border-radius: 0.5rem;
}

.error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.8rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 0.8rem;
    border-bottom: 0.08rem solid #e5e7eb;
}

.empty-state {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.inline-form {
    display: inline;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5%;
    margin-bottom: 2%;
}

.info-box {
    background: #ecfdf3;
    color: #1e3a8a;
    padding: 0.8rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.auth-form textarea {
    padding: 0.8rem;
    border: 0.08rem solid #cbd5e1;
    border-radius: 0.5rem;
    resize: vertical;
    min-height: 6rem;
}

.auth-form input[type="file"] {
    padding: 0.8rem;
    border: 0.08rem solid #cbd5e1;
    border-radius: 0.5rem;
    background: #ffffff;
}
.result-block {
    white-space: pre-wrap;
    word-break: break-word;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 0.08rem solid #e5e7eb;
}

.result-note {
    margin-top: 1rem;
    color: #475569;
}
.entity-groups {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5%;
    margin-top: 1rem;
}

.entity-group {
    background: #f8fafc;
    border: 0.08rem solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
}

.entity-group h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.entity-list {
    margin: 0;
    padding-left: 1.2rem;
}

.muted-text {
    color: #64748b;
}
.auth-form select {
    padding: 0.8rem;
    border: 0.08rem solid #cbd5e1;
    border-radius: 0.5rem;
    background: #ffffff;
}
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-row input[type="checkbox"] {
    margin-top: 0.2rem;
}

.public-footer {
    width: 100%;
    background: rgba(23, 79, 43, 0.92);
    color: #ffffff;
    margin-top: 3%;
    border-top: 0.12rem solid #0f2f19;
}

.public-footer-inner {
    width: 92%;
    margin: 0 auto;
    padding: 1.2% 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-left strong {
    font-size: 1rem;
}

.footer-left span,
.footer-right span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
}

.card-2 {
    background: rgba(200, 225, 205, 0.30);
    backdrop-filter: blur(0.35rem);
    -webkit-backdrop-filter: blur(0.35rem);
    border: 0.08rem solid rgba(23, 79, 43, 0.30);
    border-radius: 0.8rem;
    padding: 3%;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.08);
    margin-bottom: 2%;
}

