/* Stripe Demo Modal */
.stripe-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.stripe-overlay.active {
    opacity: 1;
    visibility: visible;
}

.stripe-modal {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.stripe-overlay.active .stripe-modal {
    transform: translateY(0);
}

.stripe-header {
    background: #f7fafc;
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.stripe-header .company {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 4px;
    font-weight: 500;
}

.stripe-header .price {
    font-size: 28px;
    color: #1a202c;
    font-weight: 600;
}

.stripe-body {
    padding: 24px;
}

.stripe-label {
    display: block;
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 6px;
    font-weight: 500;
}

.stripe-input-group {
    margin-bottom: 16px;
    position: relative;
}

.stripe-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    color: #1a202c;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.stripe-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.stripe-card-group {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.stripe-card-group .stripe-input {
    border: none;
    border-radius: 0;
}

.stripe-card-group .stripe-input:focus {
    box-shadow: none;
}

.stripe-card-number {
    flex: 1;
    border-right: 1px solid #e2e8f0 !important;
}

.stripe-card-exp, .stripe-card-cvc {
    width: 80px;
}

.stripe-card-exp {
    border-right: 1px solid #e2e8f0 !important;
}

.stripe-btn {
    width: 100%;
    background: #6366f1;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stripe-btn:hover {
    background: #4f46e5;
}

.stripe-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    color: #a0aec0;
    cursor: pointer;
}

.stripe-close:hover {
    color: #4a5568;
}

.stripe-powered {
    text-align: center;
    font-size: 12px;
    color: #a0aec0;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 500;
}

.stripe-success {
    position: absolute;
    inset: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
}

.stripe-success.active {
    opacity: 1;
    visibility: visible;
}

.stripe-success-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    margin-bottom: 16px;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stripe-success.active .stripe-success-icon {
    transform: scale(1);
}

.stripe-success-text {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.stripe-demo-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #fef3c7;
    color: #d97706;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #fde68a;
    text-transform: uppercase;
}
