/**
 * WPCrypto Checkout Styles
 * 
 * Table of Contents:
 * 1. Confirmation Page Styles
 * 2. Checkout Page Layout
 * 3. Payment Method Tabs
 * 4. Cryptocurrency Styles
 * 5. Web3 Wallet Styles
 * 6. PayPal Styles
 * 7. Stripe Styles
 * 8. Button Styles
 * 9. Notification Styles
 * 10. Responsive Design
 * 11. Animation Keyframes
 */

/* =============================================================================
   1. Confirmation Page Styles
   ============================================================================= */

.wpcrypto-checkout-confirmation {
    width: 98%;
    max-width: 1000px;
    margin: 8px auto 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.wpcrypto-checkout-icon {
    font-size: 80px;
    color: #10b981;
    margin-bottom: 20px;
}

.wpcrypto-checkout-icon i {
    animation: pulse 2s infinite;
}

.wpcrypto-checkout-confirmation h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1a202c;
}

.wpcrypto-order-details {
    margin: 30px 0;
    text-align: left;
}

.wpcrypto-order-details h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1a202c;
    font-size: 24px;
}

.wpcrypto-order-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.wpcrypto-order-detail-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
}

.wpcrypto-detail-label {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 5px;
}

.wpcrypto-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.wpcrypto-next-steps {
    margin: 30px 0;
    text-align: left;
}

.wpcrypto-next-steps h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1a202c;
    font-size: 24px;
}

.wpcrypto-steps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpcrypto-step-item {
    display: flex;
    align-items: flex-start;
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
}

.wpcrypto-step-icon {
    font-size: 24px;
    color: #3b82f6;
    margin-right: 15px;
}

.wpcrypto-step-content h4 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #1a202c;
    font-size: 18px;
}

.wpcrypto-step-content p {
    margin: 0;
    color: #64748b;
}

.wpcrypto-confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Balance Info Box */
.wpcrypto-balance-info-box {
    margin-top: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #10b981;
}

.wpcrypto-balance-info-text {
    font-style: italic;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.4;
}

.wpcrypto-balance-info-text strong {
    color: #10b981;
    font-weight: 600;
}

/* =============================================================================
   2. Checkout Page Layout
   ============================================================================= */

.wpcrypto-checkout-page-container {
    width: 98%;
    max-width: 1200px;
    margin: 8px auto 40px auto;
    padding: 0;
    box-sizing: border-box;
    color: #1a202c;
    line-height: 1.5;
}

.wpcrypto-checkout-page-header {
    text-align: center;
    margin-bottom: 30px;
}

.wpcrypto-checkout-page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.wpcrypto-checkout-page-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
    width: 100%;
}

.wpcrypto-checkout-page-summary-box,
.wpcrypto-checkout-page-payment-box {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    height: 100%;
    text-align: left;
}

.wpcrypto-checkout-page-box-titlebg {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 15px 20px;
    position: relative;
}

.wpcrypto-checkout-page-box-title {
    color: white;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.wpcrypto-checkout-page-box-content {
    padding: 20px;
}

.wpcrypto-checkout-page-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.wpcrypto-checkout-page-summary-row:last-child {
    border-bottom: none;
}

.wpcrypto-checkout-page-summary-label {
    color: #6b7280;
    font-weight: 500;
}

.wpcrypto-checkout-page-summary-value {
    font-weight: 600;
    color: #1f2937;
}

.wpcrypto-checkout-page-total-row {
    margin-top: 5px;
    padding-top: 15px;
    border-top: 2px solid #e5e7eb;
}

.wpcrypto-checkout-page-total-row .wpcrypto-checkout-page-summary-label,
.wpcrypto-checkout-page-total-row .wpcrypto-checkout-page-summary-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1f2937;
}

.wpcrypto-checkout-page-back-link-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

.wpcrypto-checkout-page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    color: #3b82f6;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.wpcrypto-checkout-page-back-link:hover {
    background: #e5e7eb;
    color: #2563eb;
    transform: translateY(-2px);
}

.wpcrypto-checkout-page-checkout-notice {
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    margin-top: 15px;
}

/* Shop Order Products */
.wpcrypto-shop-order-products {
    margin: 15px 0;
}

.wpcrypto-shop-products-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.wpcrypto-shop-order-product-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wpcrypto-shop-order-product-item:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wpcrypto-shop-order-product-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.wpcrypto-shop-order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpcrypto-shop-no-image-placeholder {
    width: 100%;
    height: 100%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #9ca3af;
}

.wpcrypto-shop-order-product-details {
    flex: 1;
}

.wpcrypto-shop-order-product-name a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.wpcrypto-shop-order-product-name a:hover {
    color: #3b82f6;
}

.wpcrypto-shop-order-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #6b7280;
}

.wpcrypto-shop-order-product-meta strong {
    color: #1f2937;
}

.wpcrypto-shop-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
}

.wpcrypto-shop-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
}

.wpcrypto-shop-input:focus,
.wpcrypto-shop-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* =============================================================================
   3. Payment Method Tabs
   ============================================================================= */

.wpcrypto-payment-tabs {
    margin-bottom: 20px;
}

.wpcrypto-payment-tab {
    margin-bottom: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wpcrypto-payment-tab:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wpcrypto-payment-tab.selected {
    border: 2px solid #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.wpcrypto-payment-tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcrypto-payment-tab-header.paypal-tab {
    background-color: #169BD7;
    color: white;
}

.wpcrypto-payment-tab-header.stripe-tab {
    background-color: #6772E5;
    color: white;
}

.wpcrypto-payment-tab-header.crypto-tab {
    background-color: #F7931A;
    color: white;
}

.wpcrypto-payment-tab-header.web3-tab {
    background-color: #3b99fc;
    color: white;
}

.wpcrypto-payment-tab-header:hover {
    filter: brightness(110%);
}

.wpcrypto-payment-tab-content {
    display: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.wpcrypto-payment-tab.active .wpcrypto-payment-tab-content {
    display: block;
    padding: 20px;
    max-height: none;
    overflow: visible;
}

.wpcrypto-payment-tab.active .wpcrypto-payment-tab-arrow {
    transform: rotate(180deg);
}

.wpcrypto-payment-option-content {
    background: #f9fafb;
    border-radius: 6px;
    padding: 15px;
}

.wpcrypto-payment-option-content p {
    margin: 0 0 10px 0;
}

.wpcrypto-payment-option-content p:last-child {
    margin-bottom: 0;
}

.wpcrypto-selected-payment-display {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.wpcrypto-selected-payment-display p {
    margin: 0;
    font-weight: 500;
}

#selected-payment-text {
    font-weight: 700;
    color: #3b82f6;
}

/* =============================================================================
   4. Cryptocurrency Styles
   ============================================================================= */

.wpcrypto-crypto-section-title {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
}

.wpcrypto-crypto-currency-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.wpcrypto-crypto-currency-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wpcrypto-crypto-currency-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.wpcrypto-crypto-currency-item.selected-crypto {
    background: #ebf5ff;
    border-color: #3b82f6;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.wpcrypto-crypto-currency-item.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.wpcrypto-crypto-currency-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.wpcrypto-crypto-currency-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.wpcrypto-crypto-currency-symbol {
    font-weight: bold;
    color: #3b82f6;
    font-size: 0.9rem;
}

.wpcrypto-crypto-currency-details {
    flex: 1;
}

.wpcrypto-crypto-currency-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 3px;
}

.wpcrypto-crypto-currency-balance {
    font-size: 0.85rem;
    color: #6b7280;
}

.wpcrypto-balance-label {
    color: #6b7280;
}

.wpcrypto-balance-amount {
    font-weight: 600;
    color: #10b981;
    font-size: 0.8rem;
}

.wpcrypto-balance-none {
    color: #9ca3af;
    font-style: italic;
}

.wpcrypto-payment-amount-needed {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dotted #e5e7eb;
}

.wpcrypto-payment-label {
    color: #6b7280;
    font-size: 0.8rem;
    display: block;
}

.wpcrypto-payment-value {
    font-weight: 600;
    color: #ef4444;
    font-size: 0.8rem;
}

.wpcrypto-payment-value.error {
    color: #ef4444;
}

.wpcrypto-crypto-instructions {
    margin-top: 10px;
    color: #4b5563;
    font-size: 0.95rem;
}

.wpcrypto-crypto-warning {
    color: #ef4444;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    background-color: #fef2f2;
    border-left: 3px solid #ef4444;
}

.wpcrypto-price-approx {
    font-size: 0.8em;
    color: #718096;
}

.wpcrypto-current-price {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
}

/* Icon styles for coins */
.wpcrypto-coin-icon {
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
}

/* =============================================================================
   5. Web3 Wallet Styles
   ============================================================================= */

.wpcrypto-web3-wallet-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.wpcrypto-web3-wallet-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wpcrypto-web3-wallet-option:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.wpcrypto-web3-wallet-option.selected-wallet {
    background: #ebf5ff;
    border-color: #3b82f6;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.wpcrypto-web3-wallet-option img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.wpcrypto-web3-wallet-option span {
    font-weight: 500;
    color: #1f2937;
}

.wpcrypto-web3-status {
    background: #f8fafc;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-top: 10px;
}

.wpcrypto-web3-status-message {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.wpcrypto-web3-networks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.wpcrypto-web3-network-item {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f7f9fc;
    border: 2px solid #e5e9f2;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    min-width: 200px;
}

.wpcrypto-web3-network-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

.wpcrypto-web3-network-item.selected-network {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.wpcrypto-web3-network-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.wpcrypto-web3-network-details {
    flex-grow: 1;
}

.wpcrypto-web3-network-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.wpcrypto-web3-network-coin {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.wpcrypto-web3-status h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #334155;
}

.wpcrypto-web3-error {
    color: #ef4444;
    padding: 10px;
    background-color: #fee2e2;
    border-radius: 6px;
    margin: 10px 0;
    text-align: center;
}

/* =============================================================================
   6. PayPal Styles
   ============================================================================= */

.wpcrypto-paypal-buttons {
    width: 100%;
    margin: 20px 0;
    display: none;
    min-height: initial;
}

.wpcrypto-paypal-buttons .paypal-button {
    margin-bottom: 10px;
    min-height: initial;
}

.wpcrypto-paypal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
    margin: 10px 0;
}

.wpcrypto-paypal-loading .spinner {
    margin-right: 10px;
}

#wpcrypto-paypal-button-container,
#paypal-button-container {
    min-height: initial;
    width: 100%;
    margin-top: 20px;
}

.paypal-card-container {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    overflow: visible;
    width: 100%;
}

.card-fields-container {
    width: 100%;
}

.card-field-row {
    margin-bottom: 15px;
}

.card-field-half-row {
    display: flex;
    gap: 15px;
}

.half-field {
    flex: 1;
}

.card-field {
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    transition: border-color 0.2s;
    margin-top: 5px;
}

.card-field.valid {
    border-color: #059669;
}

.card-field.invalid {
    border-color: #DC2626;
}

.card-field.focused {
    border-color: #3B82F6;
    box-shadow: 0 0 0 1px #3B82F680;
}

.paypal-card-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #444;
}

#card-submit-button {
    margin-top: 15px;
    width: 100%;
}

#card-submit-button:disabled {
    background-color: #d1d5db;
    cursor: not-allowed;
}

/* =============================================================================
   7. Stripe Styles
   ============================================================================= */

.wpcrypto-stripe-payment-container {
    margin: 20px 0;
    padding: 15px;
    background-color: #fafbfc;
    border-radius: 8px;
    border: 1px solid #e0e3e8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    min-height: 250px;
    position: relative;
}

.wpcrypto-stripe-payment-container .StripeElement,
.wpcrypto-stripe-payment-container div[role="button"],
.wpcrypto-stripe-payment-container iframe,
.wpcrypto-stripe-payment-container .ElementsApp {
    width: 100%;
    min-height: 40px;
}

.wpcrypto-stripe-payment-container .StripeElement {
    min-height: 70px;
    padding: 10px 12px;
    width: 100%;
    color: #32325d;
    background-color: white;
    border: 1px solid #e0e3e8;
    border-radius: 4px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
    transition: box-shadow 150ms ease;
}

.wpcrypto-stripe-payment-container .StripeElement--focus {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-color: #0073aa;
}

.wpcrypto-stripe-payment-container .StripeElement--invalid {
    border-color: #fa755a;
}

.wpcrypto-stripe-payment-container .StripeElement--webkit-autofill {
    background-color: #fefde5;
}

.wpcrypto-stripe-payment-container .ElementsApp {
    margin-bottom: 10px;
    min-height: 300px;
}

.wpcrypto-stripe-payment-container .SubmitButton {
    display: block;
    width: 100%;
    height: 40px;
    margin: 15px 0 0;
    background-color: #6772E5;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.wpcrypto-stripe-payment-container .SubmitButton:hover {
    background-color: #5469d4;
}

.wpcrypto-stripe-payment-container .SubmitButton:disabled {
    opacity: 0.5;
    cursor: default;
    background-color: #7d7d7d;
}

.wpcrypto-stripe-payment-element {
    min-height: 200px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fafbfc;
    border-radius: 8px;
    border: 1px solid #e0e3e8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wpcrypto-stripe-payment-element .StripeElement {
    width: 100%;
    min-height: 40px;
    padding: 10px;
}

#stripe-submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#stripe-submit-button .fa-spinner {
    margin-right: 8px;
    animation: stripe-spinner 1s linear infinite;
}

#stripe-payment-form {
    margin-top: 20px;
}

#stripe-card-element,
#stripe-payment-element {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    box-shadow: 0 1px 3px 0 #e6ebf1;
    margin-bottom: 16px;
}

#stripe-card-errors {
    color: #fa755a;
    margin-bottom: 16px;
    font-size: 14px;
}

#stripe-payment-message {
    margin: 15px 0;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

#stripe-payment-message.wpcrypto-notification-info {
    background-color: #f0f9ff;
    border-left: 3px solid #0ea5e9;
    color: #0c4a6e;
}

#stripe-payment-message.wpcrypto-notification-error {
    background-color: #fef2f2;
    border-left: 3px solid #ef4444;
    color: #7f1d1d;
}

#stripe-payment-message i {
    margin-right: 8px;
}

#stripe-payment-message i.fa-spinner {
    animation: stripe-loading-spinner 1s linear infinite;
}

.wpcrypto-payment-success {
    color: #43a047;
    background-color: #e8f5e9;
    padding: 16px;
    border-radius: 4px;
    margin-top: 16px;
    text-align: center;
}

.wpcrypto-payment-processing {
    text-align: center;
    padding: 20px;
    color: #2196f3;
}

.wpcrypto-payment-error {
    color: #fa755a;
    padding: 10px;
    background-color: #fff8f8;
    border-radius: 4px;
    border-left: 3px solid #fa755a;
}

/* =============================================================================
   8. Button Styles
   ============================================================================= */

.wpcrypto-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.wpcrypto-button.primary {
    background: #3b82f6;
    color: white;
}

.wpcrypto-button.primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    text-decoration: none;
}

.wpcrypto-button.secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.wpcrypto-button.secondary:hover {
    background: #cbd5e0;
    text-decoration: none;
}

.wpcrypto-button i {
    margin-right: 10px;
}

.wpcrypto-checkout-page-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
    opacity: 1;
}

.wpcrypto-checkout-page-checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wpcrypto-checkout-page-checkout-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.wpcrypto-complete-payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    background: linear-gradient(135deg, #F7931A 0%, #E27A16 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
    opacity: 1;
}

.wpcrypto-complete-payment-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wpcrypto-complete-payment-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #E27A16 0%, #D26810 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(242, 169, 0, 0.3);
}

/* =============================================================================
   9. Notification Styles
   ============================================================================= */

.wpcrypto-notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    z-index: 9999;
}

.wpcrypto-notification {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    animation: wpcrypto-slide-in 0.3s ease-out forwards;
    overflow: hidden;
    position: relative;
}

.wpcrypto-notification-hiding {
    animation: wpcrypto-slide-out 0.3s ease-in forwards;
}

.wpcrypto-notification-success {
    border-left: 4px solid #10b981;
}

.wpcrypto-notification-error {
    border-left: 4px solid #ef4444;
}

.wpcrypto-notification-warning {
    border-left: 4px solid #f59e0b;
}

.wpcrypto-notification-info {
    border-left: 4px solid #3b82f6;
}

.wpcrypto-notification i:first-child {
    margin-right: 12px;
    font-size: 18px;
}

.wpcrypto-notification-success i:first-child {
    color: #10b981;
}

.wpcrypto-notification-error i:first-child {
    color: #ef4444;
}

.wpcrypto-notification-warning i:first-child {
    color: #f59e0b;
}

.wpcrypto-notification-info i:first-child {
    color: #3b82f6;
}

.wpcrypto-notification-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.wpcrypto-notification-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    padding: 0;
}

.wpcrypto-notification-close:hover {
    color: #4b5563;
}

/* =============================================================================
  10. Responsive Design
  ============================================================================= */

@media (max-width: 992px) {
    .wpcrypto-checkout-page-top-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wpcrypto-crypto-currency-list {
        grid-template-columns: 1fr;
    }

    .wpcrypto-web3-wallet-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .wpcrypto-order-detail-grid {
        grid-template-columns: 1fr;
    }

    .wpcrypto-web3-networks-container {
        flex-direction: column;
    }

    .wpcrypto-web3-network-item {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .wpcrypto-checkout-confirmation {
        padding: 20px;
        margin: 5px auto 20px auto;
    }

    .wpcrypto-checkout-page-container {
        margin: 5px auto 20px auto;
    }

    .wpcrypto-crypto-currency-list {
        grid-template-columns: 1fr;
    }

    .wpcrypto-web3-wallet-options {
        grid-template-columns: 1fr;
    }

    .wpcrypto-checkout-page-header h1 {
        font-size: 1.8rem;
    }

    .wpcrypto-confirmation-actions {
        flex-direction: column;
        gap: 10px;
    }

    .wpcrypto-button {
        width: 100%;
        justify-content: center;
    }

    .card-field-half-row {
        flex-direction: column;
        gap: 10px;
    }

    .wpcrypto-web3-networks-container {
        flex-direction: column;
    }

    .wpcrypto-web3-network-item {
        min-width: auto;
        flex: none;
    }

    .wpcrypto-shop-order-product-item {
        flex-direction: column;
        text-align: center;
    }

    .wpcrypto-shop-order-product-image {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .wpcrypto-shop-order-product-meta {
        flex-direction: column;
        gap: 5px;
    }
}

/* =============================================================================
  11. Animation Keyframes
  ============================================================================= */

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes wpcrypto-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes wpcrypto-slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes stripe-loading-spinner {
    to {
        transform: rotate(360deg);
    }
}

@keyframes stripe-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* =============================================================================
   Shop Coupon System Styles
   ============================================================================= */

.wpcrypto-shop-coupon-section {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.wpcrypto-shop-coupon-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wpcrypto-shop-coupon-input-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.wpcrypto-shop-coupon-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.wpcrypto-shop-coupon-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.wpcrypto-shop-coupon-input.success {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.wpcrypto-shop-coupon-input.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.wpcrypto-shop-coupon-btn {
    padding: 10px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wpcrypto-shop-coupon-btn:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
}

.wpcrypto-shop-coupon-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wpcrypto-shop-coupon-message {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.wpcrypto-shop-coupon-message.success {
    background: #d1fae5;
    color: #047857;
    border: 1px solid #10b981;
}

.wpcrypto-shop-coupon-message.error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #ef4444;
}

.wpcrypto-shop-coupon-message.info {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #3b82f6;
}

.wpcrypto-shop-applied-coupon {
    margin-top: 10px;
    padding: 10px;
    background: #d1fae5;
    border: 1px solid #10b981;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wpcrypto-shop-applied-coupon-info {
    font-size: 0.9rem;
    color: #047857;
    font-weight: 500;
}

.wpcrypto-shop-remove-coupon {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px 6px;
}

.wpcrypto-shop-remove-coupon:hover {
    color: #dc2626;
}

.wpcrypto-shop-discount-row {
    background: #d1fae5;
    border: 1px solid #10b981;
    border-radius: 6px;
    margin: 5px 0;
    padding: 12px 0;
}

.wpcrypto-shop-discount-row .wpcrypto-checkout-page-summary-label,
.wpcrypto-shop-discount-row .wpcrypto-checkout-page-summary-value {
    color: #047857;
    font-weight: 600;
}

@media (max-width: 768px) {
    .wpcrypto-shop-coupon-input-group {
        flex-direction: column;
    }

    .wpcrypto-shop-coupon-btn {
        width: 100%;
    }
}

