/*
 Theme Name:   Russian Children's Fund - In-Development
 Template:     generatepress
*/

.detfond-donation-form {
  display: flex;
  flex-wrap: wrap;        /* чтобы на маленьких экранах переносилось */
  gap: 8px;
  justify-content: stretch;
  align-items: center;
}

.detfond-donation-form input {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 160px;
	width: fill;
	width: -webkit-fill-available;
}

.detfond-donation-form .detfond-donation-btn {
  padding: 10px 20px;
	background: var(--global-color-8);
	color: #fff;
	width: -webkit-fill-available;
	height: fill;
	height: -webkit-fill-available;
}

.detfond-donation-form .detfond-donation-btn:hover {
    color: #000;
}

.detfond-donation-form > div.wp-flex-columns, .detfond-donation-form div.wp-flex-column {
	
	height: fill;
	height: -webkit-fill-available;
    gap: 6px;
}


.donations-wrapper {
    max-width: 1100px;
    margin: 0 auto 40px;
    font-family: inherit;
    font-size: 15px;
    color: #333;
}

.donations-header,
.donation-row {
    display: grid;
    grid-template-columns: 140px 200px 140px 1fr 160px;
    align-items: center;
    column-gap: 20px;
    padding: 12px 0;
}

.donations-header {
    font-weight: 600;
    color: #777;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 8px;
}

.donation-row {
    border-bottom: 1px solid #f0f0f0;
}

.donation-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Иконки можно позже заменить на svg / фоновые картинки */
.donation-icon-card::before,
.donation-icon-coins::before,
.donation-icon-user::before,
.donation-icon-phone::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #d0d7e5;
    border-radius: 3px;
}

/* Кнопка «Показать больше» */
.donations-more {
    text-align: center;
    margin-top: 20px;
}

.donations-more-btn {
    background: linear-gradient(180deg, #4b8fe2 0%, #2a69c7 100%);
    border: none;
    color: #fff;
    padding: 10px 28px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 15px;
}

.donations-more-btn:hover {
    color: #000;
}

.donations-more-btn:disabled {
    background: #ccc;
    cursor: default;
}


