/* ============================================
   Детфонд: Поступления — Стили
   ============================================ */

.block-donations {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #FEF8F4;
    display: flex;
    justify-content: center;
    margin: 0;
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.donations-block-inner {
    width: 1200px;
    padding: 60px 20px 90px;
}

.donations-heading {
    font-family: 'Garamond', serif;
    font-size: 52px;
    text-align: center;
    font-weight: 600;
    color: #142048;
    margin: 0 0 30px;
}

.donations-info-card {
    display: flex;
		flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #F8F2EE;
    border-radius: 10px;
    padding: 25px 40px;
    margin: 0 auto 40px;
    max-width: 420px;
}

.donations-info-icon {
    width: 15px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
}

.donations-info-text {
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    color: #232127;
    line-height: 1.2;
    margin: 0;
		text-align: center;
}

/* ============================================
   ФИЛЬТРЫ
   ============================================ */
.donations-filters {
    margin-bottom: 60px;
}

.donations-filters-row {
    display: grid;
    grid-template-columns: 3.5fr 3.5fr 3fr;
    gap: 20px;
}

.donations-filters-row-2 {
    margin-top: 20px;
}

.donations-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.donations-filter-actions {
    justify-content: flex-end;
}

.donations-filter-actions .donations-btn-filter {
    width: 100%;
    min-width: 0;
    margin-top: auto;
}

.donations-filter-group label {
    font-family: 'Gilroy', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #A6A4A4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donations-filter-group input,
.donations-filter-group select {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #E9DACF;
    background-color: #F8F2EE;
    padding: 0 12px;
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 14px;
    color: #232127;
    box-sizing: border-box;
}

.donations-filter-group input::placeholder {
    color: #232127;
    opacity: 1;
}

.donations-filter-group input::-webkit-input-placeholder {
    color: #232127;
}

.donations-filter-group input::-moz-placeholder {
    color: #232127;
    opacity: 1;
}

.donations-filter-group input:-ms-input-placeholder {
    color: #232127;
}

.donations-filter-group input:focus,
.donations-filter-group select:focus {
    outline: none;
    border-color: #0095FF;
    box-shadow: 0 0 0 2px rgba(0, 149, 255, 0.2);
}

.donations-date-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.donations-date-range input {
    flex: 1;
    min-width: 0;
}

.donations-date-separator {
    color: #767676;
    font-size: 14px;
    flex-shrink: 0;
}

.donations-amount-range {
    display: flex;
    gap: 8px;
}

.donations-amount-range input {
    flex: 1;
    min-width: 0;
}

.donations-filter-actions {
    justify-content: flex-end;
}

/* ============================================
   КНОПКИ
   ============================================ */
.donations-btn {
    background: linear-gradient(45deg, #0095FF 0%, #5BBBFF 100%);
    box-shadow: 0 3px 0 #0A99FF;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 0 40px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.donations-btn:hover {
    opacity: 0.9;
}

.donations-btn:disabled {
    background: #ccc;
    box-shadow: 0 3px 0 #999;
    cursor: default;
    opacity: 1;
}

.donations-btn-filter {
    min-width: 160px;
}

/* ============================================
   КНОПКА ПОЖЕРТВОВАТЬ
   ============================================ */
.donations-donate-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.donations-btn-donate {
    background: linear-gradient(45deg, #F95400 0%, #FF7F3E 100%);
    box-shadow: 0 3px 0 #FA5907;
    padding: 0 60px;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
}

/* ============================================
   ТАБЛИЦА ДОНАТОВ
   ============================================ */
.donations-wrapper {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
}

.donations-header {
    display: flex;
    background-color: #F8F2EE;
    border-bottom: 1px solid #ddd;
}

.donation-row {
    display: flex;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.donation-row:last-child {
    border-bottom: none;
}

.donation-row:hover {
    background-color: #FFFBF8;
}

.donation-cell {
    padding: 15px 12px;
    font-size: 14px;
    color: #503924;
    display: flex;
    align-items: center;
    min-height: 50px;
    box-sizing: border-box;
}

.donation-date {
    flex: 0 0 140px;
    font-weight: 500;
}

.donation-method {
    flex: 0 0 140px;
    justify-content: center;
}

.donation-amount {
    flex: 0 0 100px;
    font-weight: 600;
    justify-content: flex-end;
}

.donation-name {
    flex: 1;
}

.donation-phone {
    flex: 0 0 150px;
}

.donation-payment-method-icon {
    width: 40px;
    height: auto;
    max-height: 30px;
    object-fit: contain;
}

.donations-header .donation-cell {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #142048;
}

.donations-more {
    text-align: center;
    padding: 30px 0;
}

.donations-btn-more {
    background: linear-gradient(45deg, #0095FF 0%, #5BBBFF 100%);
    box-shadow: 0 3px 0 #0A99FF;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 1200px) {
    .donations-block-inner {
        width: 768px;
        padding: 40px 20px 60px;
    }

    .donations-heading {
        font-size: 32px;
    }

    .donations-info-card {
        padding: 20px 30px;
        flex-direction: column;
        text-align: center;
    }

    .donations-filters-row {
        gap: 15px;
    }

    .donations-filter-group {
        min-width: 120px;
    }

    .donation-date {
        flex-basis: 100px;
        font-size: 12px;
    }

    .donation-phone {
        flex-basis: 120px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .donations-block-inner {
        width: 100%;
        padding: 30px 10px;
    }

    .donations-heading {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .donations-info-card {
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .donations-info-icon {
        width: 40px;
        height: 40px;
    }

    .donations-filters-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .donations-filters-row-2 {
        margin-top: 20px;
    }

    .donations-filter-group {
        min-width: 100%;
    }

    .donations-filter-actions .donations-btn-filter {
        margin-top: 0;
    }

    .donations-filter-group input,
    .donations-filter-group select {
        height: 40px;
        font-size: 14px;
    }

    .donations-btn {
        height: 40px;
        line-height: 40px;
        padding: 0 30px;
        font-size: 14px;
    }

    .donations-btn-filter {
        width: 100%;
    }

    .donations-btn-donate {
        height: 50px;
        line-height: 50px;
        padding: 0 40px;
        font-size: 15px;
    }

    .donations-header {
        display: none;
    }

    .donation-row {
        flex-wrap: wrap;
        padding: 15px;
        gap: 8px;
    }

    .donation-cell {
        padding: 0;
        min-height: auto;
    }

    .donation-date {
        flex: 0 0 100%;
        font-size: 14px;
        font-weight: 600;
        color: #142048;
    }

    .donation-method {
        flex: 0 0 50px;
        justify-content: flex-start;
    }

    .donation-amount {
        flex: 1;
        justify-content: flex-start;
        font-size: 16px;
    }

    .donation-name {
        flex: 0 0 100%;
        font-size: 13px;
    }

    .donation-phone {
        flex: 0 0 100%;
        font-size: 13px;
    }

    .donations-more {
        padding: 20px 0;
    }

    .donations-btn-more {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .donations-block-inner {
        padding: 20px 10px;
    }

    .donations-heading {
        font-size: 22px;
    }

    .donation-row {
        padding: 12px;
    }
}