/* Summary Page */

.epf-summary-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.epf-summary-header {
    margin-bottom: 32px;
}

.epf-summary-header h1 {
    font-family: 'Poppins custom', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.epf-summary-product {
    font-size: 15px;
    color: #64748b;
}

/* Section */
.epf-summary-section {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.epf-summary-section:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.epf-summary-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}

.epf-summary-section-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.epf-summary-section-edit {
    font-size: 13px;
    font-weight: 600;
    color: #00c3fe;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 6px;
    transition: background 0.15s;
}

.epf-summary-section-edit:hover {
    background: #dbeafe;
}

/* Data grid */
.epf-summary-grid {
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.epf-summary-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.epf-summary-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.epf-summary-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.epf-summary-value {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

/* Files section */
.epf-summary-files {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.epf-summary-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.epf-summary-file-icon {
    font-size: 18px;
}

.epf-summary-file a {
    font-size: 13px;
    font-weight: 500;
    color: #00c3fe;
    text-decoration: none;
    word-break: break-all;
}

.epf-summary-file a:hover {
    text-decoration: underline;
}

/* Actions */
.epf-summary-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.epf-summary-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.epf-summary-edit-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.epf-summary-checkout-form {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.epf-summary-checkout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #00c3fe;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins custom', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

.epf-summary-checkout-btn:hover {
    background: #00c3fe;
    box-shadow: 0 6px 20px rgba(37,99,235,0.4);
    transform: translateY(-2px);
}

.epf-summary-checkout-btn svg {
    flex-shrink: 0;
}

/* Empty state */
.epf-summary-empty {
    text-align: center;
    padding: 60px 20px;
}

.epf-summary-empty h2 {
    color: #64748b;
    margin-bottom: 8px;
}

.epf-summary-empty p {
    color: #94a3b8;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .epf-summary-page {
        padding: 12px 0;
    }

    .epf-summary-header h1 {
        font-size: 22px;
    }

    .epf-summary-grid {
        grid-template-columns: 1fr;
        padding: 12px 16px;
    }

    .epf-summary-actions {
        flex-direction: column;
    }

    .epf-summary-edit-btn,
    .epf-summary-checkout-btn {
        width: 100%;
        justify-content: center;
    }

    .epf-summary-checkout-form {
        width: 100%;
    }
}
