.request-send-page {
    background: #f8fafc;
    min-height: 100vh;
    margin: 0;
}

.request-send-shell {
    max-width: 1320px;
    margin: 0 auto;
}

.section-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.section-card-header {
    padding: 0.45rem 0.9rem 0.4rem;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    text-align: center;
}

.section-card-header h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.section-card-body {
    padding: 1rem;
}

.panel-title {
    color: #0d6efd;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    line-height: 1.2;
}

.content-section,
.info-message-panel {
    background: #fbfdff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    padding: 0.85rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.info-message-box {
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
}

.info-cards-grid,
.doc-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}

.compact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.doc-card {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
    box-shadow: none;
    min-height: unset;
}

.info-card-full,
.doc-card-full {
    grid-column: 1 / -1;
}

.info-card-span-2 {
    grid-column: span 2;
}

.info-card-label,
.doc-card-label {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 0;
}

.info-card-value,
.doc-card-value {
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.22;
    word-break: break-word;
}

.request-form label {
    display: block;
    margin-bottom: 0.35rem;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.88rem;
}

.request-form input,
.request-form select,
.request-form textarea {
    width: 100%;
    border: 1px solid #dbe7f3;
    border-radius: 10px;
    padding: 0.58rem 0.75rem;
    background: #ffffff;
    color: #0f172a;
    box-shadow: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.request-form input,
.request-form select {
    min-height: 40px;
}

.request-form textarea {
    min-height: 160px;
    resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
    border-color: #93c5fd;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.request-form .errorlist {
    list-style: none;
    padding-left: 0;
    margin: 0 0 0.35rem 0;
    color: #dc3545;
    font-size: 0.84rem;
    font-weight: 600;
}

.request-form .form-text {
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-soft-back,
.btn-soft-next,
.btn-soft-primary,
.btn-sm-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0.62rem 0.95rem;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    min-width: 125px;
}

.btn-sm-inline {
    min-width: auto;
    padding: 0.45rem 0.75rem;
    font-size: 0.86rem;
}

.btn-soft-back {
    background: #f8fafc;
    color: #475569;
    border-color: #dbe7f3;
}

.btn-soft-back:hover {
    background: #eef2f7;
    color: #0f172a;
}

.btn-soft-next {
    background: #198754;
    color: #ffffff;
    border-color: #198754;
}

.btn-soft-next:hover {
    background: #157347;
    color: #ffffff;
}

.btn-soft-primary {
    background: #eff6ff;
    color: #0d6efd;
    border-color: #cfe2ff;
}

.btn-soft-primary:hover {
    background: #dbeafe;
    color: #0b5ed7;
}

.ordin-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 700;
}

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

.modern-alert {
    border-radius: 14px;
    border: 1px solid #f5c2c7;
    background: #fff1f2;
    color: #b42318;
}

.modern-table-wrap {
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.soft-table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    --bs-table-bg: transparent;
}

.soft-table thead th {
    background: #f8fbff;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.96rem;
    padding: 0.95rem 0.9rem;
    vertical-align: middle;
    border-bottom: 1px solid #e6edf5;
    border-right: 1px solid #eef2f7;
    white-space: nowrap;
}

.soft-table thead th:last-child {
    border-right: none;
}

.soft-table tbody td,
.soft-table tbody th {
    padding: 0.95rem 0.9rem;
    vertical-align: middle;
    color: #334155;
    font-size: 0.95rem;
    border-top: 1px solid #eef2f7;
    border-right: 1px solid #eef2f7;
    background: #ffffff;
}

.soft-table tbody td:last-child,
.soft-table tbody th:last-child {
    border-right: none;
}

.soft-table tbody tr:first-child td,
.soft-table tbody tr:first-child th {
    border-top: none;
}

.soft-table tbody tr:hover td,
.soft-table tbody tr:hover th {
    background: #fbfdff;
}

.text-bold {
    font-weight: 700;
}

@media (max-width: 1200px) {
    .info-cards-grid,
    .doc-cards-grid,
    .compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-card-span-2 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .section-card-header h2 {
        font-size: 1rem;
    }

    .section-card-body {
        padding: 0.85rem;
    }

    .content-section,
    .info-message-panel {
        padding: 0.75rem;
    }

    .info-cards-grid,
    .doc-cards-grid,
    .compact-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .info-card,
    .doc-card,
    .info-card-span-2,
    .info-card-full,
    .doc-card-full {
        grid-column: auto;
        padding: 0.58rem 0.7rem;
    }

    .info-card-value,
    .doc-card-value {
        font-size: 0.86rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-soft-back,
    .btn-soft-next,
    .btn-soft-primary,
    .btn-sm-inline {
        width: 100%;
    }
}