/* Modal */
.modal-doacao {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    overflow: auto;
}

.modal-doacao-content {
    background: #fff;
    margin: 5% auto;
    padding: 25px;
    border-radius: 14px;
    max-width: 650px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {opacity:0; transform: translateY(-20px);}
    to {opacity:1; transform: translateY(0);}
}

.modal-doacao-close {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    margin-bottom: 10px;
}

.modal-doacao-close:hover {
    color: #000;
}

.doacoes-lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

/* Cards */
.doacao-opcao {
    border: 2px solid #286140;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center; 
    gap: 15px;
    background: #f9f9f9;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    justify-content: center;
}

.doacao-opcao:hover {
    transform: scale(1.02);
    border-color: #731900;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.doacao-icon {
    font-size: 36px;
    color: #286140;
    flex-shrink: 0;
}

.doacao-opcao h3 {
    margin: 0 0 6px 0;
    font-size: 1.3em;
    color: #286140;
    font-weight: bold;
}

.doacao-opcao p {
    margin: 0 0 10px 0;
    font-size: 0.95em;
    color: #333;
}

/* Botão */
.doacao-btn {
    background: #286140;
    color: #fff;
    border: none;
    padding: 12px 28px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    transition: background 0.2s, transform 0.2s;
}

.doacao-btn:hover {
    background: #731900;
    transform: translateY(-2px);
}

/* Responsivo */
@media(max-width: 550px){
    .modal-doacao-content {
        margin: 10% 10px;
    }
    .doacao-opcao {
        flex-direction: column;
        align-items: flex-start;
    }
    .doacao-icon {
        margin-bottom: 10px;
    }
}

.tipo-doacao-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.tipo-doacao-btn {
    background: #286140;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tipo-doacao-btn:hover {
    background: #731900;
    transform: translateY(-2px);
}

.voltar-container {
    margin-top: 20px;
}

.voltar-btn {
    background: none;
    color: #286140;
    border: 2px solid #286140;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.voltar-btn:hover {
    background: #286140;
    color: #fff;
}

/* Responsivo */
@media(max-width: 550px){
    .tipo-doacao-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
}
