/* My Membership Plugin - Stripe Payment Form Styles */


@media (min-width: 768px) {
    .container {
        flex-direction: row;
    }
}
.left-column, .right-column {
    padding: 30px;
    flex: 1;
}
.left-column {
    border-right: 1px solid #e5e7eb;
}
@media (max-width: 767px) {
    .left-column {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #374151;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
}
.StripeElement {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.StripeElement--focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.StripeElement--invalid {
    border-color: #ef4444;
}
.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}
.submit-button {
    width: 100%;
    padding: 14px;
    background-color: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}
.submit-button:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
}
.submit-button:disabled {
    background-color: #a7a7a7;
    cursor: not-allowed;
    box-shadow: none;
}
.error-message {
    color: #ef4444;
    margin-top: 10px;
    font-size: 0.875rem;
}
.success-message {
    color: #22c55e;
    margin-top: 10px;
    font-size: 0.875rem;
}
.product-list {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 20px;
}
.product-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: #f9fafb;
    padding: 10px;
    border-radius: 8px;
}
.product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 15px;
}
.product-details {
    flex-grow: 1;
}
.product-details h3 {
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
    margin: 0;
}
.product-details p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 5px 0 0;
}
.product-price {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.1rem;
}
.total-section {
    border-top: 2px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 20px;
    text-align: right;
}
.total-section p {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden; /* Hidden by default */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;
}
.loading-overlay.visible {
    visibility: visible;
    opacity: 1;
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #6366f1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
