/* 返済計画カードグリッド */
.repayment-plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

/* シンプルカードスタイル */
.repayment-plan-card-simple {
    background: #e6f4fb;
    border: 1px solid #b3d9f2;
    border-radius: 12px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.repayment-plan-card-simple:hover {
    box-shadow: 0 4px 12px rgba(0, 115, 200, 0.15);
    transform: translateY(-2px);
}

/* カードヘッダー */
.repayment-plan-card-simple .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #0073c8;
    border-radius: 12px 12px 0 0;
}

.repayment-plan-card-simple .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    color: #0073c8;
}

.repayment-plan-card-simple.status-completed .status-badge {
    background: #e6f7e6;
    color: #00a854;
}

.repayment-plan-card-simple.status-delayed .status-badge {
    background: #fff1e6;
    color: #ff6b00;
}

.repayment-plan-card-simple .lender-tag {
    font-size: 13px;
    color: #fff;
    background: #4cabeb;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* カードボディ */
.repayment-plan-card-simple .card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.repayment-plan-card-simple .user-info {
    margin-bottom: 12px;
}

.repayment-plan-card-simple .user-details {
    font-size: 13px;
    color: #666;
}

.repayment-plan-card-simple .card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 20px 0;
    color: #333;
}

/* 返済情報テーブル */
.repayment-plan-card-simple .repayment-info-table {
    margin-bottom: 20px;
}

.repayment-plan-card-simple .repayment-info-table table {
    width: 100%;
    border-collapse: collapse;
}

.repayment-plan-card-simple .repayment-info-table th,
.repayment-plan-card-simple .repayment-info-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #d4e5f1;
    font-size: 14px;
}

.repayment-plan-card-simple .repayment-info-table th {
    width: 35%;
    color: #666;
    font-weight: normal;
}

.repayment-plan-card-simple .repayment-info-table td {
    color: #333;
    font-weight: 600;
}

.repayment-plan-card-simple .repayment-info-table td.amount {
    color: #0073c8;
    font-size: 16px;
}

/* 返済シミュレーション */
.repayment-plan-card-simple .repayment-simulation {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.repayment-plan-card-simple .simulation-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    text-align: center;
}

.repayment-plan-card-simple .simulation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}

.repayment-plan-card-simple .simulation-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.repayment-plan-card-simple .sim-label {
    font-size: 11px;
    color: #666;
}

.repayment-plan-card-simple .sim-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.repayment-plan-card-simple .sim-value.highlight {
    color: #0073c8;
    font-size: 18px;
}

/* 免責事項 */
.repayment-plan-card-simple .disclaimer-text {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin: 8px 0 16px;
}

/* コメント */
.repayment-plan-card-simple .card-comment {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    margin-top: auto;
}

.repayment-plan-card-simple .card-comment p {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* カードフッター */
.repayment-plan-card-simple .card-footer {
    padding: 16px 20px;
    text-align: center;
}

.repayment-plan-card-simple .read-more-link {
    color: #0073c8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.repayment-plan-card-simple .read-more-link:hover {
    text-decoration: underline;
}

/* もっと見るボタンのスタイル */
.repayment-plans-more {
    text-align: center;
    margin-top: 40px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .repayment-plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .repayment-plan-card-simple .card-title {
        font-size: 16px;
    }
    
    .repayment-plan-card-simple .simulation-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}