@media all {
    .card-moeda {
        border-radius: 20px;
        background: #1E1E1E;
        padding: 30px;
        margin-bottom: 30px;
    }

    .moeda-logos {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .moeda-logo-item {
        text-align: center;
    }

    .moeda-logo-item img {
        border-radius: 20px;
        max-width: 200px;
        max-height: 200px;
        object-fit: contain;
    }

    .moeda-description {
        color: #ffffff;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    .moeda-form-section {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        padding: 25px;
        margin-bottom: 20px;
    }

    .moeda-form-section h4 {
        color: #ffffff;
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
        text-transform: uppercase;
    }

    .moeda-quantity-group {
        margin-bottom: 25px;
    }

    .moeda-quantity-group label {
        color: #ffffff;
        font-weight: 600;
        margin-bottom: 10px;
        display: block;
    }

    .moeda-quantity-group input,
    .moeda-quantity-group input.form-control {
        width: 100%;
        max-width: 300px;
        padding: 12px;
        border-radius: 8px;
        border: 1px solid #4b4b4b;
        background: #3F3F3F;
        color: #ffffff;
        font-size: 18px;
        font-weight: 600;
    }

    .moeda-quantity-group input:focus,
    .moeda-quantity-group input.form-control:focus {
        outline: none;
        border-color: #EA0F2C;
        background: #4b4b4b;
    }

    .competidor-search-input,
    .competidor-search-input.form-control {
        width: 100%;
        max-width: 300px;
        padding: 12px;
        border-radius: 8px;
        border: 1px solid #4b4b4b;
        background: #3F3F3F;
        color: #ffffff;
        font-size: 16px;
    }

    .competidor-search-input:focus,
    .competidor-search-input.form-control:focus {
        outline: none;
        border-color: #EA0F2C;
        background: #4b4b4b;
    }

    .moeda-price-display {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .moeda-price-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .moeda-price-item label {
        color: #ffffff;
        font-weight: 600;
        font-size: 16px;
    }

    .moeda-price-item .price-value {
        color: #EA0F2C;
        font-size: 20px;
        font-weight: 700;
    }

    .moeda-price-item.total {
        border-top: 2px solid rgba(234, 15, 44, 0.5);
        padding-top: 15px;
        margin-top: 5px;
    }

    .moeda-price-item.total label {
        font-size: 18px;
    }

    .moeda-price-item.total .price-value {
        font-size: 24px;
    }

    .moeda-payment-methods {
        margin-top: 25px;
    }

    .moeda-payment-methods label {
        color: #ffffff;
        font-weight: 600;
        margin-bottom: 15px;
        display: block;
    }

    .moeda-payment-option {
        margin-bottom: 15px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        border: 2px solid transparent;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

    .moeda-payment-option:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(234, 15, 44, 0.5);
    }

    .moeda-payment-option input[type="radio"] {
        margin-right: 12px;
        cursor: pointer;
        position: relative;
        z-index: 1;
    }

    .moeda-payment-option label {
        color: #ffffff;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 0;
        display: inline;
        position: relative;
        z-index: 1;
    }

    .moeda-payment-option input[type="radio"]:checked + label {
        color: #EA0F2C;
    }

    .moeda-payment-option input[type="radio"]:checked ~ label,
    .moeda-payment-option:has(input[type="radio"]:checked) label {
        color: #EA0F2C;
    }

    .moeda-payment-option:has(input[type="radio"]:checked) {
        background: rgba(234, 15, 44, 0.1);
        border-color: rgba(234, 15, 44, 0.5);
    }

    /* Fallback for browsers that don't support :has() */
    .moeda-payment-option.active {
        background: rgba(234, 15, 44, 0.1);
        border-color: rgba(234, 15, 44, 0.5);
    }

    .moeda-payment-option.active label {
        color: #EA0F2C;
    }

    .moeda-payment-option.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }

    .moeda-payment-option.disabled:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: transparent;
    }

    .moeda-payment-option.disabled label {
        cursor: not-allowed;
        color: #888888;
    }

    .moeda-payment-option.disabled input[type="radio"] {
        cursor: not-allowed;
    }

    .moeda-competidor-option.competidor-filtered-out {
        display: none;
    }

    .moeda-competidor-option.competidor-page-hidden {
        display: none;
    }

    .moeda-actions {
        display: flex;
        gap: 15px;
        margin-top: 30px;
        justify-content: center;
    }

    .moeda-btn {
        border-radius: 8px;
        color: #FFF;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%;
        text-transform: uppercase;
        padding: 12px 30px;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .moeda-btn-sm {
        font-size: 16px;
        padding: 8px 16px;
        height: 40px;
        min-width: 150px;
        font-weight: 600;
    }

    /* Competidor pagination buttons: smaller and clearly enabled when active */
    .competidor-pagination .moeda-btn {
        font-size: 14px;
        padding: 4px 10px;
        min-width: auto;
        height: auto;
        font-weight: 600;
    }

    .competidor-pagination .moeda-btn.moeda-btn-link {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.35);
        color: #ffffff;
        text-transform: none;
    }

    .competidor-pagination .moeda-btn.moeda-btn-link:hover:not(:disabled) {
        border-color: #ffffff;
        color: #EA0F2C;
    }

    .moeda-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    a.moeda-btn-primary:hover {
        color: white !important;
    }

    .moeda-btn-primary {
        background: #EA0F2C;
    }

    .moeda-btn-primary:hover {
        background: #B91519;
    }

    .moeda-btn-secondary {
        background: #4b4b4b;
    }

    .moeda-btn-secondary:hover {
        background: #3F3F3F;
    }

    .moeda-summary {
        display: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        padding: 30px;
        margin-top: 30px;
    }

    .moeda-summary.show {
        display: block;
    }

    .moeda-summary h4 {
        color: #ffffff;
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 25px;
        text-transform: uppercase;
        text-align: center;
    }

    .moeda-summary-item {
        display: flex;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .moeda-summary-item:last-child {
        border-bottom: none;
    }

    .moeda-summary-item label {
        color: #ffffff;
        font-weight: 600;
        font-size: 16px;
    }

    .moeda-summary-item .value {
        color: #EA0F2C;
        font-weight: 700;
        font-size: 18px;
    }

    .moeda-summary-item.total {
        border-top: 2px solid rgba(234, 15, 44, 0.5);
        margin-top: 15px;
        padding-top: 20px;
    }

    .moeda-summary-item.total label {
        font-size: 20px;
    }

    .moeda-summary-item.total .value {
        font-size: 24px;
    }

    .moeda-form-container {
        display: block;
    }

    .moeda-form-container.hidden {
        display: none;
    }

    @media (max-width: 768px) {
        .card-moeda {
            padding: 20px;
        }

        .moeda-logos {
            gap: 20px;
        }

        .moeda-logo-item img {
            max-width: 150px;
            max-height: 150px;
        }

        .moeda-quantity-group input {
            max-width: 100%;
        }

        .moeda-actions {
            flex-direction: column;
        }

        .moeda-btn {
            width: 100%;
        }

        .moeda-price-display {
            padding: 15px;
        }

        .moeda-form-section {
            padding: 20px;
        }
    }
}
