/* 
 * Course Checkout Pro Styles
 * Brand Colors: #1C0940 (dark purple), #9BB4D4 (light blue)
 */

/* ===========================
   Checkout Card Styles
   =========================== */

.ccp-checkout-wrapper {
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ccp-checkout-card {
    background: linear-gradient(135deg, #1C0940 0%, #2a1255 100%);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(28, 9, 64, 0.3);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ccp-checkout-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(155, 180, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Detail Items */
.ccp-detail-item {
    background: rgba(155, 180, 212, 0.15);
    border: 1px solid rgba(155, 180, 212, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    width: 49%;
}

.ccp-detail-item:hover {
    background: rgba(155, 180, 212, 0.25);
    border-color: #9BB4D4;
    transform: translateX(3px);
}

.ccp-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.ccp-detail-text {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
}

/* Social Proof */
.ccp-social-proof {
    background: rgba(155, 180, 212, 0.2);
    border-radius: 10px;
    padding: 14px;
    margin: 18px 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: #ffffff;
    border: 1px solid rgba(155, 180, 212, 0.3);
    position: relative;
    z-index: 1;
}

/* Countdown Timer (Outside Card) */
.ccp-countdown-wrapper {
    position: relative;
    z-index: 1;
}

.ccp-timer-label-text {
    text-align: center;
    font-size: 11px;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 600;
    margin-top: 10px!important;
}

.ccp-countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(155, 180, 212, 0.1);
    border-radius: 8px;
    padding: 10px;
    border: 1px solid rgba(155, 180, 212, 0.3);
}

.ccp-timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
}

.ccp-timer-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.ccp-timer-label {
    font-size: 8px;
    text-transform: uppercase;
    color: #fff;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.ccp-timer-separator {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    padding: 0 2px;
}

/* Urgency animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.ccp-countdown-timer.urgent {
    animation: pulse 2s infinite;
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.ccp-countdown-timer.urgent .ccp-timer-value {
    color: #ff6b6b;
}

.ccp-countdown-timer.urgent .ccp-timer-separator {
    color: #ff6b6b;
}

/* Price */
.ccp-price-wrapper {
    text-align: center;
    margin: 18px 0 15px;
    position: relative;
    z-index: 1;
}

.ccp-regular-price {
    font-size: 18px;
    color: #9BB4D4;
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 10px;
    display: inline-block;
}

.ccp-sale-price {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    display: inline-block;
}

/* CTA Button */
.ccp-reserve-button {
    width: 100%;
    background: linear-gradient(135deg, #9BB4D4, #7a9fc4);
    color: #1C0940;
    border: none;
    border-radius: 10px;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 16px rgba(155, 180, 212, 0.4);
    position: relative;
    z-index: 1;
}

.ccp-reserve-button:hover {
    background: linear-gradient(135deg, #b5cce5, #9BB4D4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 180, 212, 0.5);
}

.ccp-reserve-button:active {
    transform: translateY(0);
}

.ccp-reserve-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading State */
.ccp-loading {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.ccp-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(155, 180, 212, 0.3);
    border-top-color: #9BB4D4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   Thank You Page Styles
   =========================== */

.ccp-thank-you-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.ccp-thank-you-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #9BB4D4;
}

.ccp-thank-you-header {
    text-align: center;
    margin-bottom: 40px;
}

.ccp-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.ccp-thank-you-title {
    color: #1C0940;
    font-size: 32px;
    margin: 0 0 10px;
    font-weight: 700;
}

.ccp-thank-you-subtitle {
    color: #666;
    font-size: 18px;
    margin: 0;
}

/* Order Details */
.ccp-order-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid #9BB4D4;
}

.ccp-order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.ccp-order-detail-row:last-child {
    border-bottom: none;
}

.ccp-detail-label {
    font-weight: 600;
    color: #1C0940;
    font-size: 16px;
}

.ccp-detail-value {
    color: #333;
    font-size: 16px;
}

/* Downloads Section */
.ccp-downloads-section {
    margin: 40px 0;
}

.ccp-downloads-title {
    color: #1C0940;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.ccp-downloads-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.ccp-downloads-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ccp-download-item {
    background: linear-gradient(135deg, #1C0940 0%, #2a1255 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #9BB4D4;
    transition: all 0.3s ease;
}

.ccp-download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(28, 9, 64, 0.3);
}

.ccp-download-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ccp-download-icon {
    font-size: 32px;
}

.ccp-download-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ccp-download-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.ccp-download-product {
    color: #9BB4D4;
    font-size: 14px;
}

.ccp-download-button {
    background: #9BB4D4;
    color: #1C0940;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ccp-download-button:hover {
    background: #b5cce5;
    transform: scale(1.05);
}

/* Thank You Footer */
.ccp-thank-you-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.ccp-footer-text {
    color: #666;
    font-size: 15px;
    margin: 10px 0;
}

.ccp-footer-text strong {
    color: #1C0940;
}

/* Error States */
.ccp-thank-you-card.ccp-error {
    text-align: center;
    border-color: #ff6b6b;
}

.ccp-error-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.ccp-thank-you-card.ccp-error h2 {
    color: #1C0940;
    margin-bottom: 15px;
}

.ccp-thank-you-card.ccp-error p {
    color: #666;
    font-size: 16px;
}

/* ===========================
   Custom Checkout Page Styles
   =========================== */

/* Override WooCommerce checkout styles */
.woocommerce-checkout .ccp-custom-checkout {
    max-width: 1200px;
    margin: 0 auto;
}

.woocommerce-checkout .ccp-custom-checkout h3 {
    color: #1C0940;
    border-bottom: 3px solid #9BB4D4;
    padding-bottom: 15px;
}

.woocommerce-checkout .ccp-custom-checkout .woocommerce-billing-fields,
.woocommerce-checkout .ccp-custom-checkout #order_review {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.woocommerce-checkout .ccp-custom-checkout input[type="text"],
.woocommerce-checkout .ccp-custom-checkout input[type="email"],
.woocommerce-checkout .ccp-custom-checkout input[type="tel"],
.woocommerce-checkout .ccp-custom-checkout select,
.woocommerce-checkout .ccp-custom-checkout textarea {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.3s ease;
}

.woocommerce-checkout .ccp-custom-checkout input:focus,
.woocommerce-checkout .ccp-custom-checkout select:focus,
.woocommerce-checkout .ccp-custom-checkout textarea:focus {
    border-color: #9BB4D4;
    outline: none;
}

.woocommerce-checkout .ccp-custom-checkout #place_order {
    background: linear-gradient(135deg, #1C0940, #2a1255);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.woocommerce-checkout .ccp-custom-checkout #place_order:hover {
    background: linear-gradient(135deg, #2a1255, #1C0940);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(28, 9, 64, 0.3);
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .ccp-checkout-card {
        padding: 20px;
    }
    
    .ccp-detail-item {
        padding: 10px 14px;
    }
    
    .ccp-icon {
        font-size: 16px;
    }
    
    .ccp-detail-text {
        font-size: 14px;
    }
    
    .ccp-social-proof {
        font-size: 12px;
        padding: 12px;
    }
    
    .ccp-timer-segment {
        min-width: 40px;
    }
    
    .ccp-timer-value {
        font-size: 18px;
    }
    
    .ccp-timer-label {
        font-size: 7px;
    }
    
    .ccp-timer-separator {
        font-size: 18px;
    }
    
    .ccp-sale-price {
        font-size: 30px;
    }
    
    .ccp-regular-price {
        font-size: 16px;
    }
    
    .ccp-reserve-button {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    .ccp-thank-you-card {
        padding: 30px 20px;
    }
    
    .ccp-thank-you-title {
        font-size: 24px;
    }
    
    .ccp-order-detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .ccp-download-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .ccp-download-info {
        flex-direction: column;
        text-align: center;
    }
    
    .ccp-download-button {
        width: 100%;
    }

    .ccp-detail-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ccp-checkout-wrapper,
    .ccp-thank-you-wrapper {
        padding: 10px;
        margin: 20px auto;
    }
    
    .ccp-checkout-card {
        padding: 18px;
    }
    
    .ccp-timer-segment {
        min-width: 35px;
    }
    
    .ccp-timer-value {
        font-size: 16px;
    }
    
    .ccp-timer-label {
        font-size: 7px;
    }
    
    .ccp-sale-price {
        font-size: 28px;
    }
}


.ccp-checkout-card-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===========================
   Checkout Modal Styles
   =========================== */

/* Modal Overlay */
.ccp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ccp-modal-show {
    opacity: 1;
    visibility: visible;
}

.ccp-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

/* Modal Container */
.ccp-modal-container {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.ccp-modal-show .ccp-modal-container {
    transform: scale(1);
}

/* Modal Header */
.ccp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #e0e0e0;
    background: linear-gradient(135deg, #1C0940, #2a1255);
}

.ccp-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

.ccp-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ccp-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Modal Body */
.ccp-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

/* Prevent body scroll when modal open */
body.ccp-modal-open {
    overflow: hidden;
}

/* ===========================
   WooCommerce Checkout in Modal
   =========================== */

/* Hide unnecessary WooCommerce elements in modal */
.ccp-modal .woocommerce-form-coupon-toggle,
.ccp-modal .woocommerce-checkout-review-order,
.ccp-modal #order_review_heading,
.ccp-modal .woocommerce-additional-fields {
    display: none;
}

/* Style WooCommerce checkout form */
.ccp-modal .woocommerce-billing-fields h3,
.ccp-modal .woocommerce-checkout h3,
.ccp-modal #order_review h3 {
    color: #1C0940;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #9BB4D4;
}

.ccp-modal .form-row {
    margin-bottom: 15px;
}

.ccp-modal .form-row label {
    font-size: 14px;
    font-weight: 600;
    color: #1C0940;
    margin-bottom: 8px;
    display: block;
}

.ccp-modal .form-row .required {
    color: #ff6b6b;
}

.ccp-modal .form-row input.input-text,
.ccp-modal .form-row select,
.ccp-modal .form-row textarea {
    padding: 12px 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    transition: all 0.3s ease;
    width: 100%;
    font-family: inherit;
}

.ccp-modal .form-row input.input-text:focus,
.ccp-modal .form-row select:focus,
.ccp-modal .form-row textarea:focus {
    outline: none !important;
    border-color: #9BB4D4 !important;
    box-shadow: 0 0 0 3px rgba(155, 180, 212, 0.1) !important;
}

/* Payment methods */
.ccp-modal #payment {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.ccp-modal #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.ccp-modal #payment ul.payment_methods li {
    margin-bottom: 12px;
}

.ccp-modal #payment .payment_method_stripe,
.ccp-modal #payment .payment_method_phonepe,
.ccp-modal #payment .payment_box {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.ccp-modal #payment .payment_method_stripe label,
.ccp-modal #payment .payment_method_phonepe label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.ccp-modal #payment input[type="radio"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

/* Stripe card element styling */
.ccp-modal .wc-stripe-elements-field,
.ccp-modal .wc-stripe-iban-element-field {
    background: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

/* Place order button */
.ccp-modal #place_order {
    width: 100% !important;
    background: linear-gradient(135deg, #1C0940, #2a1255) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px 30px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 10px !important;
}

.ccp-modal #place_order:hover {
    background: linear-gradient(135deg, #2a1255, #1C0940) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(28, 9, 64, 0.3) !important;
}

.ccp-modal #place_order:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* WooCommerce notices */
.ccp-modal .woocommerce-error,
.ccp-modal .woocommerce-message,
.ccp-modal .woocommerce-info {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    list-style: none;
}

.ccp-modal .woocommerce-message {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

/* Order review/summary in WooCommerce */
.ccp-modal .woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.ccp-modal .woocommerce-checkout-review-order-table th,
.ccp-modal .woocommerce-checkout-review-order-table td {
    padding: 12px;
    text-align: left;
}

.ccp-modal .woocommerce-checkout-review-order-table .cart-subtotal th,
.ccp-modal .woocommerce-checkout-review-order-table .order-total th {
    font-weight: 700;
    color: #1C0940;
}

.ccp-modal .woocommerce-checkout-review-order-table .order-total {
    font-size: 18px;
    font-weight: 700;
    border-top: 2px solid #1C0940;
}

/* Checkout Form */
.ccp-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ccp-form-row {
    display: flex;
    gap: 15px;
}

.ccp-form-row .ccp-form-field {
    flex: 1;
}

.ccp-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ccp-form-field label {
    font-size: 14px;
    font-weight: 600;
    color: #1C0940;
}

.ccp-form-field label .ccp-required {
    color: #ff6b6b;
    margin-left: 2px;
}

.ccp-form-field input,
.ccp-form-field select,
.ccp-form-field textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ccp-form-field input:focus,
.ccp-form-field select:focus,
.ccp-form-field textarea:focus {
    outline: none;
    border-color: #9BB4D4;
    box-shadow: 0 0 0 3px rgba(155, 180, 212, 0.1);
}

.ccp-form-field input.ccp-field-error,
.ccp-form-field select.ccp-field-error {
    border-color: #ff6b6b;
}

.ccp-field-error-msg {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 4px;
}

/* Order Summary */
.ccp-order-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.ccp-order-summary h3 {
    margin: 0 0 15px 0;
    color: #1C0940;
    font-size: 18px;
}

.ccp-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.ccp-summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: #1C0940;
    margin-top: 5px;
    padding-top: 15px;
    border-top: 2px solid #1C0940;
}

.ccp-summary-label {
    color: #666;
}

.ccp-summary-value {
    color: #1C0940;
    font-weight: 600;
}

/* Payment Methods */
.ccp-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ccp-payment-method {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ccp-payment-method:hover {
    border-color: #9BB4D4;
    background: rgba(155, 180, 212, 0.05);
}

.ccp-payment-method input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
}

.ccp-payment-method.selected {
    border-color: #9BB4D4;
    background: rgba(155, 180, 212, 0.1);
}

/* Submit Button */
.ccp-submit-button {
    width: 100%!important;
    background: linear-gradient(135deg, #1C0940, #2a1255)!important;
    color: #ffffff!important;
    border: none!important;
    border-radius: 10px!important;
    padding: 16px 30px;
    font-size: 16px!important;
    font-weight: 700!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
    text-transform: uppercase;
    letter-spacing: 0.5px!important;
    margin-top: 10px!important;
}

.ccp-submit-button:hover {
    background: linear-gradient(135deg, #2a1255, #1C0940);
    transform: translateY(-2px)!important;
    box-shadow: 0 8px 20px rgba(28, 9, 64, 0.3)!important;
}

.ccp-submit-button:disabled {
    opacity: 0.6!important;
    cursor: not-allowed!important;
    transform: none!important;
}

/* Form Error */
.ccp-form-error {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    padding: 15px;
    color: #ff6b6b;
    display: none;
    margin-bottom: 20px;
}

.ccp-form-error span {
    display: block;
    font-weight: 600;
}

/* Success Animation */
.ccp-success-animation {
    text-align: center;
    padding: 40px 20px;
}

.ccp-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
    animation: successPop 0.5s ease;
}

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

.ccp-success-animation h2 {
    color: #1C0940;
    font-size: 28px;
    margin: 20px 0 10px;
}

.ccp-success-animation p {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
}

.ccp-view-order {
    background: linear-gradient(135deg, #9BB4D4, #7a9fc4);
    color: #1C0940;
    border: none;
    border-radius: 8px;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ccp-view-order:hover {
    background: linear-gradient(135deg, #b5cce5, #9BB4D4);
    transform: translateY(-2px);
}

/* Loading Spinner */
.ccp-modal-loading {
    text-align: center;
    padding: 40px;
}

.ccp-modal-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(155, 180, 212, 0.3);
    border-top-color: #9BB4D4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ccp-modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .ccp-modal-header {
        padding: 20px;
    }
    
    .ccp-modal-header h2 {
        font-size: 20px;
    }
    
    .ccp-modal-body {
        padding: 20px;
    }
    
    .ccp-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .ccp-order-summary {
        padding: 15px;
    }
    
    .ccp-submit-button {
        padding: 14px 24px;
        font-size: 14px;
    }
}