/* Stripe Checkout Form Styles */

/* Checkout Container */
.scp-checkout-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 20px;
}

.scp-checkout-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.scp-checkout-form h2 {
    margin: 0 0 30px 0;
    font-size: 26px;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
}

/* Form Groups */
.scp-form-group {
    margin-bottom: 25px;
}

.scp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

.scp-form-group input[type="text"],
.scp-form-group input[type="email"],
.scp-form-group input[type="password"] {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.scp-form-group input:focus {
    outline: none;
    border-color: #667eea;
}

/* Password Wrapper */
.scp-password-wrapper {
    position: relative;
}

.scp-password-wrapper input {
    padding-right: 50px;
}

.scp-toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 5px 10px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.scp-toggle-password:hover {
    opacity: 1;
}

.scp-eye-icon {
    display: inline-block;
    user-select: none;
}

.scp-form-group small {
    display: block;
    margin-top: 6px;
    color: #718096;
    font-size: 13px;
}

/* Form Notice */
.scp-form-notice {
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.scp-form-notice p {
    margin: 8px 0;
    color: #166534;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.scp-form-notice p:before {
    content: '✓';
    color: #22c55e;
    font-weight: bold;
    margin-right: 8px;
}

/* Checkout Button */
.scp-btn-checkout {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

.scp-btn-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.scp-btn-checkout:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error Message */
.scp-error {
    background: #fed7d7;
    color: #742a2a;
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 14px;
}

/* Secure Notice */
.scp-secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 13px;
}

.scp-secure-notice img {
    margin-right: 8px;
}

/* Success Container */
.scp-success-container,
.scp-cancel-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 0 20px;
}

.scp-success-box,
.scp-cancel-box {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Success Icon */
.scp-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 48px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out;
}

/* Cancel Icon */
.scp-cancel-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 48px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.scp-success-box h1,
.scp-cancel-box h1 {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 600;
    color: #2d3748;
}

.scp-success-box p,
.scp-cancel-box p {
    margin: 10px 0;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
}

/* Success Actions */
.scp-success-actions,
.scp-cancel-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.scp-btn-primary {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s;
    display: inline-block;
}

.scp-btn-primary:hover {
    transform: translateY(-2px);
    color: white;
}

.scp-btn-secondary {
    padding: 12px 30px;
    background: #e2e8f0;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.scp-btn-secondary:hover {
    background: #cbd5e0;
    color: #4a5568;
}

/* Responsive */
@media (max-width: 768px) {
    .scp-checkout-form {
        padding: 30px 20px;
    }
    
    .scp-success-box,
    .scp-cancel-box {
        padding: 40px 20px;
    }
    
    .scp-success-actions,
    .scp-cancel-actions {
        flex-direction: column;
    }
    
    .scp-btn-primary,
    .scp-btn-secondary {
        width: 100%;
        text-align: center;
    }
}
