/* Container for Results Cards */
.results-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Style for Result Cards */
.result-card {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Button Styling */
.price-button,
.add-to-cart-button {
    background: linear-gradient(135deg, #ffcc00, #ffcc00);
    color: #2f3942;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    text-align: center;
}

/* Hover effects for buttons */
.price-button:hover,
.add-to-cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/* Remove button style for "Remove from Cart" */
.add-to-cart-button.remove-from-cart {
    background: #d32f2f;
    color:#f9f9f9;
}

/* Skeleton Loader */
.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading-wave 1.5s infinite;
}

@keyframes loading-wave {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Skeleton text and title styles */
.skeleton-title {
    height: 20px;
    margin-bottom: 10px;
    width: 60%;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 80%;
}

/* Result Thumbnail Styling */
.result-thumbnail {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 90px;
    height: auto;
    border-radius: 21px;
}

/* Style for Unavailable Result Cards */
.result-card-unavailable {
    background-color: #f0f0f0;
    color: #888;
}

/* Order Summary Styling */
.order-summary {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.order-summary-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.order-summary-list {
    list-style-type: none;
    padding: 0;
    font-size: 15px;
    margin-bottom: 15px;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.order-summary-price {
    font-size: 16px;
    color: #000;
}

.remove-button {
    background: none;
    border: none;
    color: #ff4c4c;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    text-decoration: underline;
    transition: color 0.2s;
}

.remove-button:hover {
    color: #d83434;
}

/* Payment Selection Styles */
.payment-selection {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.payment-selection h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

/* Payment Option Styling */
.payment-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.3);
    cursor: pointer;
}

.payment-label {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

/* Updated Payment Icon Styling */
.payment-icon {
    margin-left: 5px; /* Reduced margin to bring card icons closer */
    margin-right: 5px; /* Reduced margin to bring card icons closer */
    height: 24px; /* Set consistent height for all payment icons */
    width: auto; /* Keep the width proportional */
    object-fit: contain;
   
    
}

/* Specific Styling for PayPal and Google Pay Icons */
.payment-option img[alt="paypal"]
{
    height: 22px; /* Ensure PayPal and Google Pay icons have the same height */
    width: auto;
    object-fit: contain;
    margin-left: 10px; /* Adds a bit of space between radio button and icon */
}

.payment-option img[alt="google-pay"] {
    height: 50px; /* Ensure PayPal and Google Pay icons have the same height */
    width: auto;
    object-fit: contain;
    margin-left: 0px; /* Adds a bit of space between radio button and icon */
}

#payment-form{
margin-top: 1vw;
}

/* General form styles */
.payment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: Arial, sans-serif;
    width: 100%; /* Ensure the form takes full width of the parent */
}

/* Input field styles */
.form-group {
    width: 100%; /* Ensure the form-group takes full width */
}

.form-input {
    width: 100%; /* Make the input field take the full width of its parent */
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #6772e5; /* Stripe blue */
    box-shadow: 0 0 0 2px rgba(103, 114, 229, 0.3); /* Stripe blue shadow */
    outline: none;
}

/* Error message styles */
.error-message {
    color: #e63946;
    font-size: 12px;
    margin-top: -10px;
}


