.donate-form input,
.donate-form textarea {
    width: 100%;
    padding: 14px 22px;
    margin-bottom: 18px;
    border-radius: 30px;
    border: none;
    background: #fff;
    font-weight: 600;
}

.upload-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border-radius: 30px;
    background: var(--gold);
    color: var(--brown);
    font-weight: 800;
    cursor: pointer;
}

/* ===== DRESS CONDITION RADIO (INLINE) ===== */

.donation-condition {
    margin: 30px 0;
}

.condition-title {
    font-weight: 700;
    color: var(--light-brown);
    margin-bottom: 14px;
}

/* layout */
.donation-condition {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.condition-title {
    width: 100%;
}

/* radio option */
.condition-option {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--brown);
    cursor: pointer;
}

/* hide native radio */
.condition-option input {
    display: none;
}

/* custom radio */
.custom-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}

.custom-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.6);
    transition: 0.25s ease;
}

/* checked */
.condition-option input:checked+.custom-radio::after {
    opacity: 1;
    transform: scale(1);
}

.donation-action-radio {
    display: flex;
    width: 100%;
    gap: 32px;
    /* space between the two radios */
}

.donation-action-radio .condition-option {
    flex: 1;
    /* 👈 each takes equal width */
    display: flex;
    align-items: center;
}

/* 📱 mobile fallback */
@media (max-width: 576px) {
    .donation-condition {
        flex-direction: column;
        gap: 12px;
    }
}

.donate-select {
    width: 100%;
    padding: 14px 22px;
    margin-bottom: 18px;
    border-radius: 30px;
    border: none;
    background: #fff;
    font-weight: 600;
    appearance: none;
    /* remove default dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
}

/* add a custom arrow */
.donate-select::after {
    content: "▾";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 16px;
    color: var(--brown);
}

/* optional: wrap relative for arrow */
.donate-select-wrapper {
    position: relative;
    width: 100%;
}

.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.photo-preview .photo-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #ccc;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-preview .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.terms-check {
    font-size: 14px;
    color: var(--brown);
}

.terms-check a {
    color: var(--gold);
    text-decoration: underline;
}

.terms-check a:hover {
    color: var(--light-brown);
}

/* Make the terms checkbox fit its content instead of full width */
.donate-form .form-check {
    width: auto;
    /* prevents full-width */
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    /* match spacing of other inputs */
}

.donate-form .form-check-input {
    width: 5px !important;
    /* default checkbox size */
    height: 5px;
    margin: 0;
}

.donate-form .form-check-label {
    margin: 0;
    /* remove extra margin from label */
    font-weight: 600;
    /* match input styling */
}









/* Custom checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brown);
    cursor: pointer;
}

.custom-checkbox input {
    display: none; /* hide native checkbox */
}

.custom-checkbox .checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid var(--gold);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

/* Checkmark tick */
.custom-checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0px;
    width: 6px;
    height: 10px;
    border: solid grey;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
