* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

h1 {
    color: #4A2B0F;
    font-size: 24px;
    margin-bottom: 8px;
}

.id-number {
    color: #4A2B0F;
    font-size: 14px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

.value-input {
    display: flex;
    position: relative;
    align-items: center;
    margin-bottom: 5px;
}

.currency-prefix {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    color: #333;
    font-weight: 500;
}

.value-field {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 0 5px 5px 0;
    padding: 10px 15px;
    font-size: 16px;
    outline: none;
}

.input-help-message {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin: 8px 0 15px 0;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #23d160;
    font-style: italic;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.payment-option {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.payment-option.pix {
    background-color: #22c55e;
    border-color: #22c55e;
    color: white;
}

.radio-button {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.payment-option.pix .radio-button {
    border-color: white;
}

.payment-option.pix .radio-button::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.charity-options {
    border: 1px dashed #ccc;
    border-radius: 5px;
    display: flex;
    margin-bottom: 30px;
    overflow: hidden;
}

.charity-item {
    flex: 1;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    color: #333;
    border-right: 1px dashed #a1a1a1;
    height: 120px;
    justify-content: center;
}

.charity-item:last-child {
    border-right: none;
}

.charity-item.selected {
    background-color: rgba(34, 197, 94, 0.6); /* Fundo semi-transparente */
    color: #ffffff; /* Texto branco puro para maior contraste */
    text-shadow: 1px 1px 2px rgba(85, 85, 85, 0.5); /* Sombra sutil */
}

.charity-item.selected:last-child {
    border-right: none;
}

.charity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    overflow: hidden;
}

.charity-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heart-icon {
    background-color: #f0f9ff;
}

.society-icon {
    background-color: #f0fdf4;
}

.lucky-icon {
    background-color: #22c55e;
}

.charity-item.selected .charity-icon {
    background-color: white;
}

.charity-item.selected .charity-icon img {
    filter: none; /* Remove qualquer alteração na imagem */
}

.charity-name {
    font-size: 12px;
    font-weight: 500;
}

.charity-price {
    font-size: 12px;
    color: #666;
}

.charity-item.selected .charity-price {
    color: white;
}

.lucky-text {
    font-size: 14px;
    font-weight: 500;
}

.summary {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.divider {
    height: 1px;
    background-color: #eee;
    margin: 15px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 5px;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-top: 2px;
}

.checkbox-label {
    font-size: 14px;
    color: #333;
}

.privacy-notice {
    font-size: 12px;
    color: #666;
    margin-bottom: 30px;
    margin-left: 28px;
}

.contribute-button {
    background-color: #22c55e;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contribute-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.8;
}

.contribute-button.processing {
    position: relative;
    color: transparent;
}

.contribute-button.processing::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    color: #dc2626;
    font-size: 12px;
    margin-top: 5px;
    display: none; /* Inicialmente oculto */
}

.preset-values {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    justify-content: center;
}

.preset-value-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preset-value-btn:hover {
    border-color: #24CA68;
    color: #24CA68;
}

.preset-value-btn.active {
    background-color: #24CA68;
    color: white;
    border-color: #24CA68;
}
