/**
 * Coinley Order Confirmation Page Styles
 *
 * @package CoinleyWP
 */

.coinley-order-confirmation {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.coinley-confirmation-header {
    text-align: center;
    margin-bottom: 30px;
}

.coinley-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.coinley-payment-complete-notice h2,
.coinley-payment-pending-notice h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.coinley-payment-pending-notice {
    background-color: #fff9e6;
    border: 1px solid #f0e0a2;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.coinley-payment-complete-notice {
    background-color: #edfdf5;
    border: 1px solid #a2e0c3;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.coinley-order-details h3,
.coinley-next-steps h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.coinley-order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.coinley-order-info-item {
    display: flex;
    flex-direction: column;
}

.coinley-transaction-hash {
    grid-column: span 2;
}

.coinley-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #6b7280;
}

.coinley-value {
    font-size: 16px;
    word-break: break-all;
}

.coinley-hash-wrapper {
    display: flex;
    align-items: center;
    word-break: break-all;
}

.coinley-hash-wrapper .coinley-value {
    flex-grow: 1;
    font-family: monospace;
    font-size: 14px;
}

.coinley-btn-copy {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.coinley-btn-copy:hover {
    background-color: #e5e7eb;
}

.coinley-steps-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.coinley-steps-list li {
    display: flex;
    margin-bottom: 20px;
}

.coinley-steps-list li:last-child {
    margin-bottom: 0;
}

.coinley-step-icon {
    background-color: #edf2ff;
    color: #2563eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.coinley-step-content {
    flex-grow: 1;
}

.coinley-step-content h4 {
    font-size: 16px;
    margin: 0 0 5px 0;
}

.coinley-step-content p {
    margin: 0;
    color: #6b7280;
}

.coinley-confirmation-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.coinley-btn-primary,
.coinley-btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
}

.coinley-btn-primary {
    background-color: #2563eb;
    color: #fff;
    border: 1px solid #2563eb;
}

.coinley-btn-primary:hover {
    background-color: #1d4ed8;
    color: #fff;
}

.coinley-btn-secondary {
    background-color: #fff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.coinley-btn-secondary:hover {
    background-color: #f9fafb;
    color: #111827;
}

@media (max-width: 640px) {
    .coinley-order-confirmation {
        padding: 20px;
    }

    .coinley-order-info-grid {
        grid-template-columns: 1fr;
    }

    .coinley-transaction-hash {
        grid-column: span 1;
    }

    .coinley-confirmation-footer {
        flex-direction: column;
    }

    .coinley-btn-primary,
    .coinley-btn-secondary {
        width: 100%;
    }
}
