/**
 * VIP Membership Cancellation Page Styles
 */

:root {
    --primary-color: #1f3a19;
    --error-color: #e53e3e;
    --success-color: #38a169;
}

/* Reset styles for Divi compatibility */
.vip-cancellation-page {
    all: initial;
    font-family: 'Harmonia Sans', sans-serif;
}

.vip-cancellation-page * {
    font-family: inherit;
}

/* Hero Section Styles */
.vip-cancellation-hero {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    position: relative;
    overflow: hidden;
}

/* Animated elements - reusing the same style as landing page */
.vip-floating-element {
    position: absolute;
    border-radius: 100%;
    background-color: var(--primary-color);
    opacity: 0.1;
}

.vip-circle-1 {
    top: 15%;
    left: 10%;
    width: 20rem;
    height: 20rem;
    animation: float 15s ease-in-out infinite;
}

.vip-circle-2 {
    bottom: 10%;
    right: 5%;
    width: 30rem;
    height: 30rem;
    animation: float 18s ease-in-out infinite reverse;
}

.vip-radial-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    border-radius: 100%;
    background: radial-gradient(circle, rgba(52, 75, 72, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse 10s infinite;
    z-index: 0;
}

/* Form Styles */
.vip-input-field {
    border: 1px solid rgba(209, 213, 219, 1);
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    background-color: white;
    color: #374151;
    width: 100%;
}

.vip-input-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 75, 72, 0.25);
    outline: none;
}

.vip-input-field.error {
    border-color: var(--error-color);
}

.vip-submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    background-color: var(--primary-color);
    color: white;
    border: none;
    height: 48px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 0.375rem;
    text-transform: uppercase;
}

.vip-submit-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.vip-submit-btn:hover:before {
    left: 100%;
}

.vip-submit-btn:hover {
    background-color: #3d5956;
}

.vip-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* CTA Section */
.vip-cta-section {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    position: relative;
    overflow: hidden;
}

.vip-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.vip-cta-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.vip-cta-button:hover:before {
    left: 100%;
}

/* Accordion Styles */
.vip-accordion-item {
    transition: all 0.3s ease;
}

.vip-accordion-header {
    cursor: pointer;
}

.vip-accordion-arrow {
    transition: transform 0.3s ease;
}

.vip-accordion-header.active .vip-accordion-arrow {
    transform: rotate(180deg);
}

.vip-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Animations - reused from landing page */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { opacity: 0.1; transform: scale(0.97); }
    50% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 0.1; transform: scale(0.97); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vip-circle-1 {
        width: 10rem;
        height: 10rem;
    }
    
    .vip-circle-2 {
        width: 15rem;
        height: 15rem;
    }
}

/* Toast notification styles */
.toastr {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    max-width: 350px;
    padding: 1rem;
    border-radius: 0.375rem;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    animation: slideInRight 0.3s ease forwards;
}

.toastr-success {
    background-color: var(--success-color);
}

.toastr-error {
    background-color: var(--error-color);
}

.toastr-info {
    background-color: #3182ce;
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}