.front-body {
    padding: 0;
    background: #f0f2f5;
}

.front-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.front-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.front-logo {
    font-weight: 700;
    font-size: 1.15rem;
    color: #0f172a !important;
    text-decoration: none;
}

.front-logo:hover {
    color: #2563eb !important;
}

.front-search {
    display: flex;
    flex: 1;
    min-width: 200px;
    max-width: 360px;
    gap: 0.35rem;
}

.front-search input[type="search"] {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font: inherit;
}

.front-search button {
    padding: 0.4rem 0.85rem;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.front-search button:hover {
    background: #1d4ed8;
}

.front-nav {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.front-nav a {
    text-decoration: none;
    color: #475569;
}

.front-nav a:hover {
    color: #2563eb;
}

.front-notice {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.65rem 1rem;
    background: #fef9c3;
    border-bottom: 1px solid #fde047;
    font-size: 0.9rem;
    color: #713f12;
}

.front-notice.site-off {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

.front-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2rem;
}

.resource-list {
    display: grid;
    gap: 0.75rem;
}

.resource-card {
    display: block;
    padding: 1rem 1.15rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8ecf1;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.resource-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.resource-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: #1e40af;
}

.resource-card .meta {
    font-size: 0.85rem;
    color: #64748b;
}

.view-title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}

.view-meta {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.view-content {
    background: #fff;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e8ecf1;
    margin-bottom: 1.25rem;
    line-height: 1.65;
    overflow-x: auto;
}

.download-box {
    background: #fff;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e8ecf1;
}

.download-box h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.form-card-front {
    max-width: 420px;
    margin: 0 auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8ecf1;
}

.form-card-front .form-row {
    margin-bottom: 1rem;
}

.form-card-front label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.form-card-front input {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font: inherit;
}

.form-card-front button[type="submit"] {
    width: 100%;
    padding: 0.55rem;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.form-card-front button[type="submit"]:hover {
    background: #1d4ed8;
}

.pager-front {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pager-front a,
.pager-front span {
    padding: 0.25rem 0.55rem;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    font-size: 0.9rem;
}

.user-table th,
.user-table td {
    padding: 0.55rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.user-table th {
    background: #f8fafc;
    color: #64748b;
}

a.btn,
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

a.btn:hover,
.btn:hover {
    background: #1d4ed8;
    text-decoration: none;
}
