.scfrt,
.scfrt * {
    box-sizing: border-box;
}

.scfrt {
    width: min(1100px, 100%);
    margin: 0 auto;
    color: #1f2937;
    font-family: Arial, Helvetica, sans-serif;
}

.scfrt__title {
    margin: 0 0 10px;
    color: inherit;
    font-size: 30px;
    line-height: 1.2;
}

.scfrt__intro {
    margin: 0 0 24px;
    color: #6b7280;
    line-height: 1.6;
}

.scfrt__intro > :first-child { margin-top: 0; }
.scfrt__intro > :last-child { margin-bottom: 0; }

.scfrt__table-wrapper {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
}

.scfrt__table {
    width: 100%;
    min-width: 850px;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

.scfrt__table th,
.scfrt__table td {
    padding: 16px;
    text-align: left;
    vertical-align: middle;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
}

.scfrt__table th {
    background: #f9fafb;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.scfrt__table tbody tr:last-child td { border-bottom: 0; }

.scfrt__status {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.scfrt__status--overdue { color: #991b1b; background: #fee2e2; }
.scfrt__status--remaining { color: #166534; background: #dcfce7; }
.scfrt__status--soon { color: #92400e; background: #fef3c7; }
.scfrt__status--today { color: #1e40af; background: #dbeafe; }
.scfrt__status--received { color: #374151; background: #e5e7eb; }
.scfrt__awaiting { color: #991b1b; font-weight: 600; }
.scfrt__received-date { color: #166534; font-weight: 600; }
.scfrt__empty { color: #6b7280; text-align: center !important; }

.scfrt-error {
    padding: 12px 16px;
    border-left: 4px solid #b91c1c;
    background: #fef2f2;
    color: #7f1d1d;
}

@media (max-width: 600px) {
    .scfrt__title { font-size: 24px; }
    .scfrt__table th,
    .scfrt__table td { padding: 13px; }
}
