/* ── Generate ACORD Forms – Selection Page ── */

.acord-forms-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    position: relative;
}

.acord-corner-actions {
    width: calc(100vw - 60px);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: -24px 0 24px calc(50% - 50vw + 30px);
}

.transactions-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #1f2933;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s cubic-bezier(0.2, 0, 0.2, 1), color 0.2s ease;
    user-select: none;
}

.transactions-link:hover {
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    border-color: #94a3b8;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px) scale(1.02);
}

.transactions-link:active {
    transform: translateY(1px) scale(0.97);
    background: #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1) inset;
}

/* ── Header ── */
.acord-forms-header {
    text-align: center;
    margin-bottom: 40px;
}

.acord-forms-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.acord-forms-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin: 0 0 28px;
}

/* ── Search ── */
.acord-search-wrapper {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.acord-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 13px;
    pointer-events: none;
}

#acordFormSearch {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    background: #fafafa;
}

#acordFormSearch:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.18);
    background: #fff;
}

/* ── Card Grid ── */
.acord-forms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ── Card ── */
.acord-form-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 14px;
    padding: 22px 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
    cursor: pointer;
}

.acord-form-card:hover {
    border-color: #ffc107;
    box-shadow: 0 6px 24px rgba(255, 193, 7, 0.18);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.acord-form-card:active {
    transform: translateY(0);
}

/* icon circle – hidden */
.acord-card-icon {
    display: none;
}

/* body */
.acord-card-body {
    flex: 1;
    min-width: 0;
}

.acord-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 3px;
}

.acord-card-desc {
    font-size: 0.88rem;
    color: #777;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* arrow */
.acord-card-arrow {
    flex-shrink: 0;
    font-size: 16px;
    color: #ccc;
    transition: color 0.2s, transform 0.2s;
}

.acord-form-card:hover .acord-card-arrow {
    color: #ffc107;
    transform: translateX(4px);
}

/* ── No results ── */
.acord-no-results {
    text-align: center;
    color: #999;
    font-size: 1rem;
    margin-top: 40px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .acord-forms-page {
        padding: 32px 16px 60px;
    }

    .acord-corner-actions {
        width: 100%;
        justify-content: center;
        margin: 0 0 24px;
    }

    .acord-forms-header h1 {
        font-size: 1.5rem;
    }

    .acord-forms-grid {
        grid-template-columns: 1fr;
    }
}
