/** CMS Source - Don Page CSS */

/* =========================================================================
   DON PONCTUEL
   ========================================================================= */

.don-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 4rem;
}

.don-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.don-card, .info-card {
    background: var(--bg-secondary, #f8f9fa);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.don-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.amount-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.amount-option {
    flex: 1;
    min-width: calc(33% - 0.5rem);
}

.amount-option input {
    display: none;
}

.amount-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-option input:checked + .amount-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: transparent;
    color: white;
}

.amount-box:hover {
    border-color: var(--secondary);
}

.custom-amount-wrapper {
    margin-bottom: 1.5rem;
}

.custom-amount-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    font-size: 1rem;
}

.donor-info {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

.donor-info h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
}

.don-options {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
}

.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary, #666);
}

.don-alternative {
    text-align: center;
    color: var(--text-secondary, #666);
}

.don-alternative a {
    color: var(--secondary);
    font-weight: 600;
}

.info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-secondary, #666);
}

.info-card li svg {
    color: var(--success);
}

.tax-example {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    margin-top: 1rem;
}

/* Blurred info card (pending tax deduction) */
.info-card--blurred-wrapper {
    position: relative;
    overflow: hidden;
}

.info-card--blurred-content {
    filter: blur(4px);
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.info-card--blurred-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    z-index: 2;
}

.info-card--blurred-overlay i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.info-card--blurred-overlay p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary, #333);
    line-height: 1.5;
    max-width: 280px;
}

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

    .amount-option {
        min-width: calc(50% - 0.375rem);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   DON MENSUEL
   ========================================================================= */

.page-don-mensuel .don-content {
    max-width: 1100px;
}

.monthly-benefits {
    margin-bottom: 3rem;
}

.monthly-benefits h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.page-don-mensuel .benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.page-don-mensuel .benefit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06) 0%, rgba(184, 124, 76, 0.06) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-dark);
}

.benefit-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-secondary, #666);
    font-size: 0.9rem;
}

.page-don-mensuel .amount-option {
    position: relative;
}

.amount-option.popular .popular-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    z-index: 1;
}

.page-don-mensuel .amount-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    background: white;
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.amount-period {
    font-size: 0.75rem;
    color: var(--text-secondary, #666);
}

.page-don-mensuel .amount-option input:checked + .amount-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    border-color: transparent;
    color: white;
}

.page-don-mensuel .amount-option input:checked + .amount-box .amount-period {
    color: rgba(255,255,255,0.8);
}

.page-don-mensuel .amount-box:hover {
    border-color: var(--primary-dark);
}

.page-don-mensuel .custom-amount-wrapper label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.page-don-mensuel .custom-amount-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    font-size: 1rem;
}

.annual-impact {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06) 0%, rgba(184, 124, 76, 0.06) 100%);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.annual-impact p {
    margin: 0;
    color: var(--text-secondary, #666);
}

.annual-impact strong {
    color: var(--primary-dark);
}

.page-don-mensuel .form-group input:focus {
    border-color: var(--primary-dark);
    outline: none;
}

.page-don-mensuel .btn-block {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
}

.page-don-mensuel .btn-block:hover {
    opacity: 0.9;
}

.page-don-mensuel .secure-payment {
    font-size: 0.8rem;
}

.page-don-mensuel .don-alternative a {
    color: var(--primary-dark);
}

.info-card.highlight {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(184, 124, 76, 0.08) 100%);
    border: 2px solid rgba(var(--primary-rgb), 0.19);
}

.info-card .example {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .page-don-mensuel .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-don-mensuel .amount-option {
        min-width: calc(50% - 0.375rem);
    }
}
