/* Canadian Donation Form Styles */
.ccf-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}

.ccf-form-wrapper {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ccf-form {
    padding: 20px;
}

.ccf-section {
    margin-bottom: 30px;
}

.ccf-section-title {
    color: #1e4d8b;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

/* Amount Selection */
.ccf-pledge-prompt {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.ccf-amount-input {
    margin-bottom: 15px;
}

.ccf-amount-limits {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.ccf-min-max-text {
    font-style: italic;
}

.ccf-error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
}

.ccf-error-message p {
    margin: 0;
    font-weight: 500;
}

.ccf-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.ccf-currency-symbol {
    position: absolute;
    left: 3px;
    color: #666;
    font-size: 16px;
    z-index: 1;
}

.ccf-input-group input {
    padding-left: 30px;
}

/* Payment type selection removed - always one-time for club memberships */


/* Tax Credit Display */
.ccf-tax-credit-display {
    margin-top: 15px;
    padding: 12px 16px;
    background-color: #f0f8f0;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    font-size: 14px;
    color: #2d5016;
    text-align: center;
    font-weight: 500;
}

/* Membership Section */
.ccf-membership-section {
    margin-top: 15px;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 6px;
}

.ccf-membership-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ccf-membership-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1e4d8b;
    cursor: pointer;
}

.ccf-membership-checkbox label {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
}

/* Step Indicators */
.ccf-step-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 20px;
}

.ccf-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.ccf-step-indicator:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.ccf-step-indicator.active {
    background-color: #f3f8ff;
}

.ccf-step-indicator.completed {
    background-color: #f0f4ff;
}

.ccf-step-indicator.active .ccf-step-number {
    background-color: #0d47a1;
    color: white;
    border-color: #0d47a1;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
}

.ccf-step-indicator.completed .ccf-step-number {
    background-color: #1976d2;
    color: white;
    border-color: #1976d2;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.ccf-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #1976d2;
    background-color: #1976d2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.ccf-step-label {
    font-size: 14px;
    color: #1976d2;
    font-weight: 500;
    text-align: center;
}

.ccf-step-indicator.active .ccf-step-label {
    color: #0d47a1;
    font-weight: 600;
}

.ccf-step-indicator.completed .ccf-step-label {
    color: #1976d2;
    font-weight: 600;
}

/* Step Containers */
.ccf-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.ccf-step.active {
    display: block;
}

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

/* Step Navigation */
.ccf-step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.ccf-nav-btn {
    padding: 12px 24px;
    border: 2px solid #d32f2f;
    background-color: white;
    color: #d32f2f;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.ccf-nav-btn:hover {
    background-color: #d32f2f;
    color: white;
}

.ccf-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
    color: #999;
    border-color: #ddd;
}

.ccf-nav-btn:disabled:hover {
    background-color: #f5f5f5;
    color: #999;
}

/* Form Inputs */
.ccf-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.ccf-col-half {
    flex: 1;
}

.ccf-col-full {
    flex: 1;
}

.ccf-col-third {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.ccf-address-label {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input[readonly] {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

input:focus,
select:focus {
    outline: none;
    border-color: #1e4d8b;
    box-shadow: 0 0 0 2px rgba(30, 77, 139, 0.1);
}

select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.ccf-mla-display {
    background: #f8f9fa;
    border: 2px solid #1e4d8b;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 10px;
}

.ccf-mla-display span {
    font-size: 18px;
    font-weight: 600;
    color: #1e4d8b;
}

/* Payment Section */
.ccf-payment-section {
    margin-bottom: 20px;
}

.ccf-payment-element {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    margin-top: 10px;
}

.ccf-disclaimer {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

/* Amount Display */
.ccf-amount-display {
    background: #1e4d8b;
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

.ccf-submit-btn {
    background: #1e4d8b;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.ccf-submit-btn:hover:not(:disabled) {
    background: #2563eb;
}

.ccf-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Messages */
.ccf-messages {
    margin-top: 20px;
}

.ccf-message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.ccf-message.error {
    background: #fee;
    color: #c53030;
    border: 1px solid #fed7d7;
}

.ccf-message.success {
    background: #f0fff4;
    color: #38a169;
    border: 1px solid #c6f6d5;
}

.ccf-message.info {
    background: #ebf8ff;
    color: #3182ce;
    border: 1px solid #bee3f8;
}

/* Loading States */
.ccf-loading {
    opacity: 0.6;
    pointer-events: none;
}

.ccf-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ccf-container {
        margin: 0 10px;
    }
    
    
    .ccf-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .ccf-col-half,
    .ccf-col-third {
        flex: 1;
    }
    
}


/* Mobile Responsiveness for Steps */
@media (max-width: 768px) {
    .ccf-step-indicators {
        gap: 15px;
        margin: 20px 0;
    }
    
    .ccf-step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .ccf-step-label {
        font-size: 12px;
    }
    
    .ccf-step-navigation {
        flex-direction: column;
        gap: 15px;
        margin: 20px 0;
    }
    
    .ccf-nav-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .ccf-step {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .ccf-step-indicators {
        gap: 10px;
    }
    
    .ccf-step-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .ccf-step-label {
        font-size: 11px;
    }
    
    .ccf-step-navigation {
        margin: 15px 0;
        padding: 15px 0;
    }
    
    .ccf-nav-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
