/* ==============================
   CCTs
============================== */

.ccts {
    padding: 42px 0 54px;
    background: linear-gradient(180deg, #f7fbfb 0%, #ffffff 68%);
}

.ccts-header {
    max-width: 760px;
    margin-bottom: 28px;
}

.ccts-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #008f86;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.ccts-header h1 {
    margin: 0 0 12px;
    color: #163967;
    font-size: 34px;
    line-height: 1.15;
}

.ccts-header p {
    margin: 0;
    color: #53616f;
    line-height: 1.7;
}

.ccts-panel {
    min-height: 220px;
}

.ccts-loading,
.ccts-empty,
.ccts-error {
    padding: 22px;
    border: 1px solid #e2e8ee;
    border-radius: 6px;
    background: #fff;
    color: #53616f;
}

.ccts-error {
    border-color: #f0c7c7;
    color: #9c2222;
    background: #fff7f7;
}

.ccts-group {
    margin-top: 28px;
}

.ccts-group:first-child {
    margin-top: 0;
}

.ccts-group-title {
    margin: 0 0 14px;
    color: #1f2a33;
    font-size: 22px;
}

.ccts-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 16px;
}

.ccts-card {
    width: 100%;
    min-height: 118px;
    padding: 18px;
    border: 1px solid #dfe7ed;
    border-radius: 6px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ccts-card:hover,
.ccts-card.is-active {
    border-color: #00a69a;
    box-shadow: 0 10px 24px rgba(22, 57, 103, .12);
    transform: translateY(-1px);
}

.ccts-card-title {
    display: block;
    color: #163967;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.ccts-card-desc {
    display: block;
    margin-top: 8px;
    color: #687684;
    font-size: 14px;
    line-height: 1.45;
}

.ccts-docs {
    margin-top: 26px;
}

.ccts-negotiation {
    margin-bottom: 18px;
    border: 1px solid #dfe7ed;
    border-radius: 6px;
    background: #fff;
}

.ccts-negotiation-header {
    padding: 18px;
    border-bottom: 1px solid #edf1f4;
}

.ccts-negotiation-header h3 {
    margin: 0 0 8px;
    color: #163967;
    font-size: 19px;
}

.ccts-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ccts-meta span {
    padding: 4px 8px;
    border-radius: 4px;
    background: #eef5f8;
    color: #53616f;
    font-size: 13px;
}

.ccts-document-list {
    display: grid;
    gap: 0;
}

.ccts-document {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #edf1f4;
}

.ccts-document:last-child {
    border-bottom: 0;
}

.ccts-pdf-icon {
    width: 34px;
    height: 38px;
    color: #c62828;
}

.ccts-document-title {
    margin: 0;
    color: #1f2a33;
    font-size: 16px;
    font-weight: 700;
}

.ccts-document-info {
    margin-top: 4px;
    color: #667380;
    font-size: 13px;
}

.ccts-document-action {
    display: inline-block;
    padding: 9px 13px;
    border-radius: 5px;
    background: #163967;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ccts-document-action:hover {
    background: #00a69a;
}

@media (max-width: 900px) {
    .ccts-card-grid {
        grid-template-columns: 1fr;
    }

    .ccts-document {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .ccts-document-action {
        grid-column: 1 / -1;
        text-align: center;
    }
}
