/* Charitable Campaign Selector Styles */

.ccs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ccs-section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

/* Campaign Selection Grid */
.ccs-campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* .ccs-campaigns-7 {
    grid-template-columns: repeat(7, 1fr);
}
 */
.ccs-campaigns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.ccs-campaigns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.ccs-campaigns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ccs-campaign-item {
    text-align: center;
    padding: 20px 15px;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.ccs-campaign-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 115, 170, 0.05) 0%, rgba(0, 115, 170, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ccs-campaign-item:hover {
    border-color: #0073aa;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.2);
}

.ccs-campaign-item:hover::before {
    opacity: 1;
}

.ccs-campaign-item.ccs-active {
    border-color: #0073aa;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    box-shadow: 0 8px 25px rgba(0, 115, 170, 0.4);
    transform: translateY(-5px) scale(1.02);
}

.ccs-campaign-item.ccs-active::before {
    opacity: 0;
}

.ccs-campaign-item.ccs-active .ccs-campaign-icon {
/*     filter: brightness(0) invert(1); */
}

.ccs-campaign-item.ccs-active .ccs-campaign-title {
    color: #fff;
    font-weight: 700;
}

.ccs-campaign-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.ccs-campaign-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ccs-default-icon {
    color: #0073aa;
    transition: all 0.3s ease;
}

.ccs-campaign-item.ccs-active .ccs-default-icon {
    color: #fff;
}

.ccs-campaign-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-top: 8px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.ccs-campaign-item.ccs-active .ccs-campaign-title {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Amount Selection Section */
.ccs-amount-section {
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border-top: 4px solid #0073aa;
}

.ccs-impact-text {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border-left: 4px solid #0073aa;
}

.ccs-impact-text p {
    margin: 0;
}

/* Amount Grid */
.ccs-amounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.ccs-amount-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.ccs-amount-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ccs-amount-value {
    display: block;
    padding: 15px 20px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.ccs-amount-option:hover .ccs-amount-value {
    border-color: #0073aa;
    background: #f0f8ff;
}

.ccs-amount-option input[type="radio"]:checked + .ccs-amount-value {
    border-color: #0073aa;
    background: #0073aa;
    color: #fff;
    font-weight: 600;
}

/* Custom Amount */
.ccs-custom-amount-wrapper {
    margin: 25px 0;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
}

.ccs-custom-amount-wrapper label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.ccs-custom-amount-wrapper input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.ccs-custom-amount-wrapper input:focus {
    outline: none;
    border-color: #0073aa;
}

/* Total Display */
.ccs-total-display {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 20px;
    color: #333;
}

.ccs-total-display strong {
    color: #0073aa;
}

/* Action Buttons */
.ccs-action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.ccs-btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ccs-btn-primary {
    background: #0073aa;
    color: #fff;
}

.ccs-btn-primary:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.ccs-btn-secondary {
    background: #6c757d;
    color: #fff;
}

.ccs-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Donor Information Form */
#ccs-donor-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ccs-form-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.ccs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.ccs-form-group {
    display: flex;
    flex-direction: column;
}

.ccs-form-group label {
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.ccs-form-group input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.ccs-form-group input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.ccs-form-actions {
    margin-top: 30px;
    text-align: center;
}

.ccs-btn-large {
    padding: 18px 60px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

@media (max-width: 768px) {
    .ccs-form-row {
        grid-template-columns: 1fr;
    }
}

/* Form Highlight */
.ccs-form-highlight {
    animation: ccs-highlight 2s ease;
    border: 3px solid #0073aa !important;
}

@keyframes ccs-highlight {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 115, 170, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0, 115, 170, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 115, 170, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ccs-campaigns-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .ccs-campaigns-7,
    .ccs-campaigns-6,
    .ccs-campaigns-5,
    .ccs-campaigns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ccs-amounts-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .ccs-action-buttons {
        flex-direction: column;
    }
    
    .ccs-btn {
        width: 100%;
    }
    
    .ccs-amount-section {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .ccs-campaigns-7,
    .ccs-campaigns-6,
    .ccs-campaigns-5,
    .ccs-campaigns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ccs-campaign-item {
        min-height: 120px;
        padding: 15px 10px;
    }
    
    .ccs-campaign-icon {
        width: 48px;
        height: 48px;
    }
    
    .ccs-campaign-title {
        font-size: 12px;
    }
}


