* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    min-height: 100vh;
    background: url('/wdf_background.png');
    background-size: cover;
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

.header {
    background: #f8fafc;
    color: #374151;
    padding: 32px 40px;
    text-align: center;
    flex-shrink: 0;
    width: 40%;
}

.enhanced-header {
    background: linear-gradient(200deg, rgba(7, 118, 94, 0.9), rgba(237, 76, 63, 0.8)),
    url('/adopsiak.jpeg')center/cover;
    color: white;
    padding: 60px 40px;
    text-align: left;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
    min-height: 100vh;
}

.header-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #374151;
}

.enhanced-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
}

.content {
    padding: 30px;
    width: 100%;
    align-content: center;
}

/* Enhanced donation options */
.donation-options {
    display: flex;
    gap: 24px;
    flex-direction: column;
}

.donation-option {
    flex: 1;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    transform: translateY(0);
}

.donation-option-primary {
    color: white;
    border: 2px solid #07765e;
    background: #07765e;
}

.donation-option-secondary {
    color: #092e5a;
    border: 2px solid #07765e;
    background: #07765e;
}

.donation-option h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.donation-option p {
    color: white;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.2s ease;
    margin-bottom: 16px;
}

.donation-option:hover {
    background: #ed4c3f;
    border-color: #ed4c3f;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(237, 76, 63, 0.3);
}

.donation-option:hover h3,
.donation-option:hover p {
    color: white;
}

.donation-option.selected {
    background: #07765e;
    border-color: #07765e;
    box-shadow: 0 8px 25px rgba(7, 118, 94, 0.3);
    transform: translateY(-4px);
}

.donation-option.selected h3,
.donation-option.selected p {
    color: white;
}

.option-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ed4c3f;
    color: white;
    border: solid 2px #ed4c3c;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    color: white;
}

.option-benefits span {
    font-size: 14px;
    opacity: 0.9;
}

.selected-option {
    flex-shrink: 0;
}

.back-button {
    color: white;
    border: 2px solid #07765e;
    background: #07765e;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.back-button:hover {
    background: #ed4c3f;
    border-color: #ed4c3f;
    color: white;
    transform: translateX(-2px);
}

.error-message {
    background: white;
    border: 1px solid #fed7d7;
    color: #ed4c3f;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    flex-shrink: 0;
}

.error-message.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}


/* Custom Stripe styling */
#checkout {
    --color-primary: #092e5a;
    --color-secondary: #ed4c3f;
    --color-text:#07765e;
    --stripe-color-primary: #07765e;
    --stripe-color-background: #ffffff;
    --stripe-color-text: #1a1a1a;
    --stripe-color-danger: #ed4c3f;
    --stripe-border-radius: 8px;
    --stripe-font-family: 'Hauora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #07765e;
    font-size: 16px;
    font-weight: 500;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #07765e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#checkout {
    flex: 1;
    width: 100%;
}

#pricing-table {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

stripe-pricing-table {
    --stripe-color-primary: #07765e;
    --stripe-color-background: #ffffff;
    --stripe-border-radius: 8px;
    --stripe-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
    height: 100%;
    flex: 1;
}

/* Fade animations */
.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 24px 20px;
        font-size: 32px;
        min-height: 150px;
        width: 100%;
    }
    
    .donation-options {
        gap: 15px;
    }
    
    .header-subtitle {
        font-size: 16px;
    }
    
    .content {
        padding: 50px;
    }

    .donation-options {
        flex-direction: column;
        gap: 40px;
    }

    .donation-option {
        padding: 24px 20px;
    }

    .option-benefits {
        text-align: center;
    }
    
    .option-benefits,
    .header-subtitle {
        display: none;
    }
}