.donate-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.donate-page-content {
    position: relative;
}

.donate-page-title-container {
    background-color: #0066cc;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

.donation-page-title {
    color: white;
    margin: 0 auto;
    max-width: 350px;
    position: relative;
    z-index: 2;
}

.stars-desejo-donate-page {
    position: absolute;
    right: 1px;
    top: 55%;
    transform: translateY(-50%);
}

.page-form-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.page-form-switcher__switch {
    padding: 10px 20px;
    background-color: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 99px;
    margin: 0px 5px;
    line-height: 1.1;
}

.page-form-switcher__switch.selected {
    background-color: #0066cc;
    color: white;
}

.donation-page-amount {
    margin-bottom: 2rem;
}

.donation-page-form__value-switch {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.donation-page-form__value,
.donation-page-form__custom-value {
    flex: 1;
    text-align: center;
    background-color: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 99px;
    font-size: 1.3em;
    padding: 5px 15px;
}

.donation-page-form__value.selected,
.donation-page-form__custom-value.selected {
    background-color: #0066cc;
    color: white;
}

.donation-page-form__custom-value {
    position: relative;
    overflow: hidden;
    font-size: 1em;
    height: 60px;
}

.page-currency-symbol {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    pointer-events: none;
    color: white;
    font-weight: bold;
}

.donation-page-form__custom-value:not(.selected) .page-currency-symbol {
    display: none;
}

.donation-page-form__custom-value-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    box-shadow: none !important;
}

.donation-page-form__custom-value-label {
    display: block;
    pointer-events: none;
    color: #777;
    font-weight: bold;
    margin-top: -53px;
}

.donation-page-form__custom-value.selected .donation-page-form__custom-value-label {
    display: none;
}

.donation-page-form__custom-value.selected .donation-page-form__custom-value-input {
    opacity: 1;
    text-align: center;
    padding: 10px;
    background-color: #0066cc;
    color: white;
    border: none;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: none !important;
}

.page-control-group {
    margin-bottom: 1.5rem;
}

.page-select {
    position: relative;
    margin-top: 0.5rem;
}

.page-select select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    appearance: none;
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    background-size: 16px;
}

.donation-page-2-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

@media (min-width: 550px) {
    .donation-page-2-column {
        flex-direction: row;
        justify-content: space-between;
    }

    .donation-page-2-column > div {
        width: calc(50% - 7.5px);
    }
}

.donation-page-margin-right {
    margin-right: 1rem;
}

.donation-page-form__label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.donation-page-form__input,
input[type="email"],
input[type="text"],
input[type="tel"],
input[type="password"],
input[type="date"],
textarea,
select,
.select2-container .select2-selection--single {
    width: 100%;
    padding: 10px;
    border: 1px solid #2962A0;
    border-radius: 25px;
    font-size: 16px;
    margin-bottom: 15px;
}

.page-countrycode-input,
.page-form-fiscal {
    padding: 5px 0 5px 10px;
    border: 1px solid #2962A0;
    border-radius: 25px;
    font-size: 16px;
    margin-bottom: 15px;
}

input[type=checkbox] {
    margin-bottom: 0px;
}

.page-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232962A0%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px auto;
    padding: 10px 30px 10px 10px;
    height: auto;
    line-height: 1.5;
    border: 1px solid #2962A0;
    border-radius: 25px;
}

label,
.donation-page-form__label {
    display: block;
    margin-bottom: 5px;
    color: #2962A0;
    font-weight: bold;
}

.page-terms-checkbox {
    background-color: #e6f3ff;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-checkbox {
    flex-shrink: 0;
}

.page-label-checkbox {
    flex: 1;
    font-size: 0.875rem;
    color: #666;
}

.page-terms-checkbox label {
    color: #2962A0;
    font-weight: normal;
}

.donation-page-form__error {
    color: #C1292E;
    font-size: 14px;
    margin-top: -10px;
}

.page-buttons-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.donate-page-action-btn {
    padding: 10px 20px;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0;
    border-radius: 99px;
}

.donate-page-action-btn.primary {
    background: #0066cc;
}

.donate-page-action-btn.secondary {
    background: #FF585D;
}

.donate-page-action-btn:hover {
    background-color: #004c99;
}

.donate-page-action-btn.secondary:hover {
    background-color: #ae0006;
}

.page-form-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.page-loader-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #E6EFF8;
    border-radius: 50%;
    border-top-color: #0057B8;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-feed-title,
.donation-page-form-feedback,
.donation-page-form-mb {
    text-align: center;
    color: #0066cc;
}

.donation-page-entity-title {
    font-weight: 700;
}

.donation-page-entity {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.page-regular {
    display: none;
}

.page-fiscal-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.page-countrycode-input {
    width: 80px;
    flex-shrink: 0;
}

.page-form-fiscal {
    flex: 1;
    margin-bottom: 0;
}

/* Tooltip styles */
.tooltip {
    position: relative;
}

.tooltip:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem;
    color: #fff;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 1;
}

/* Responsive styles */
@media (max-width: 549px) {
    .donation-page-form__value-switch {
        flex-wrap: wrap;
    }
    .donation-page-form__value,
    .donation-page-form__custom-value {
        margin-right: 0;
        flex: 1 1 calc(50% - 10px);
    }
    .donation-page-form__custom-value-label {
        margin-top: 12px;
    }
}

@media (max-width: 768px) {
    .donation-page-2-column {
        flex-direction: column;
    }
    .donation-page-margin-right {
        margin-right: 0;
    }
    .page-buttons-container {
        flex-direction: column;
    }
    .donate-page-action-btn {
        width: 100%;
    }
} 