/* Estilos para formulários de doação */
.asaas-donation-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.asaas-donation-form h2 {
    color: #0066cc;
    text-align: center;
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 600;
}

.asaas-donation-form p {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
    font-size: 16px;
}

.asaas-donation-form label {
    display: block;
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: normal;
    color: #333;
    font-size: 16px;
}

.asaas-donation-form input,
.asaas-donation-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.asaas-donation-form input:focus,
.asaas-donation-form select:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,102,204,0.1);
}

.asaas-donation-form button {
    width: 100%;
    background: #0066cc;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.asaas-donation-form button:hover {
    background: #0055bb;
}

.asaas-donation-form button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* Espaçamento uniforme entre campos */
.asaas-donation-form input + label {
    margin-top: 20px;
}

/* Mensagens de erro e sucesso */
.asaas-message {
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.asaas-message-success {
    background-color: transparent;
    border: none;
    color: #155724;
    padding: 0;
}

.asaas-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Estilos para confirmação de sucesso */
.donation-success {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.donation-success h2 {
    color: #2db84d;
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.donation-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.donation-info p {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}

.donation-info strong {
    font-weight: 500;
}

.thank-you-message {
    background-color: #e6f3ff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.thank-you-message h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

.thank-you-message p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .asaas-donation-form,
    .donation-success {
        padding: 25px 20px;
    }
}

/* Estilo para botões de ação de pagamento */
.payment-actions {
    margin: 20px 0;
    text-align: center;
}

.payment-actions .button {
    display: inline-block;
    background: #0073aa;
    border: none;
    border-radius: 4px;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.payment-actions .button:hover {
    background: #005c8a;
    cursor: pointer;
}

.invoice-link {
    text-align: center;
    margin: 15px 0;
}

.invoice-link a {
    color: #0073aa;
    text-decoration: underline;
}

.invoice-link a:hover {
    color: #005c8a;
}

/* Estilo para a tela de sucesso do boleto */
.boleto-success {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.boleto-success .success-title {
    color: #4CAF50;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.boleto-info {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
}

.info-label {
    font-weight: 600;
    color: #333;
    text-align: left;
}

.info-value {
    color: #333;
    text-align: right;
}

.boleto-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
    transition: background-color 0.3s, transform 0.1s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-download {
    background-color: #007bff;
    color: white;
}

.btn-download:hover {
    background-color: #0069d9;
}

.btn-invoice {
    background-color: #6c757d;
    color: white;
}

.btn-invoice:hover {
    background-color: #5a6268;
}

.btn-close {
    background-color: #007bff;
    color: white;
    position: absolute;
    bottom: -50px;
    right: 0;
}

.btn-close:hover {
    background-color: #0069d9;
}

.donation-success-container {
    position: relative;
    padding-bottom: 60px;
}

/* Estilo para a tela de sucesso do PIX */
.pix-success {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.pix-success .success-title {
    color: #4CAF50;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pix-info {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
}

.info-label {
    font-weight: 600;
    color: #333;
    text-align: left;
}

.info-value {
    color: #333;
    text-align: right;
}

.pix-qrcode {
    margin: 20px auto;
    max-width: 250px;
}

.pix-qrcode img {
    width: 100%;
    height: auto;
    display: block;
}

.pix-code-text {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-family: monospace;
    font-size: 13px;
    height: 70px;
    resize: none;
    overflow: auto;
}

.btn-copy-wide {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
    transition: background-color 0.2s;
    text-align: center;
}

.btn-copy-wide:hover {
    background-color: #0069d9;
}