.sw-payment-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.product-details {
    margin-bottom: 30px;
}

.product-details h2 {
    margin-bottom: 15px;
    color: #ffffff;   
}

.price {
    font-size: 1.2em;
    font-weight: bold;
}

.sw-currency-field {
    margin-top: 12px;
}

.sw-currency-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95em;
}

.sw-currency-select {
    max-width: 220px;
    width: 100%;
       font-size: 18px;
    height: 53px;
    border-radius: 3px;
    padding: 0 15px;
    margin-bottom: 20px;
    background: transparent; 
    border: 2px solid #676d72;
}

#paypal-button-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.sw-paypal-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

/* Success / Error result pages */
.sw-payment-result {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sw-payment-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.sw-payment-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.sw-result-icon {
    font-size: 48px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #22c55e;
    color: #fff;
}

.sw-error-icon {
    background: #ef4444;
}

.sw-payment-result h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #1a1a1a;
}

.sw-payment-result p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.sw-order-details {
    margin: 24px 0;
    text-align: left;
}

.sw-order-details table {
    width: 100%;
    border-collapse: collapse;
}

.sw-order-details th,
.sw-order-details td {
    padding: 10px 14px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.sw-order-details th {
    width: 120px;
    color: #666;
    font-weight: 600;
}

.sw-order-details td {
    color: #1a1a1a;
}

.sw-result-note {
    font-size: 13px;
    color: #888;
    margin-top: 20px;
}

.sw-error-details {
    background: #fff;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    border: 1px solid #e5e7eb;
    margin: 16px 0;
}
.product-details {
    text-align: center;
}
.sw-error-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.sw-btn-retry,
.sw-btn-home {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.sw-btn-retry:hover,
.sw-btn-home:hover {
    opacity: 0.85;
}

.sw-payment-success .sw-btn-home {
    background: #22c55e;
    color: #fff;
}

.sw-payment-error .sw-btn-retry {
    background: #3b82f6;
    color: #fff;
}

.sw-payment-error .sw-btn-home {
    background: #e5e7eb;
    color: #333;
}

.sw-payment-payload-panel {
    margin-top: 28px;
    padding: 16px;
    text-align: left;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    max-height: 420px;
    overflow: auto;
}

.sw-payment-payload-title {
    margin: 0 0 8px;
    font-size: 15px;
    color: #1a1a1a;
}

.sw-payment-payload-hint {
    margin: 0 0 12px;
    font-size: 12px;
    color: #6b7280;
}

.sw-payment-payload-pre {
    margin: 0;
    padding: 12px;
    font-size: 11px;
    line-height: 1.45;
    background: #f9fafb;
    border-radius: 6px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
.sw-payment-success-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-left:4em;
    margin-right:4em;
}
.sw-payment-success-list li {
    margin-bottom: 10px;
    font-size: 14px;
}