/* Override title__container to allow wrapping */
.title__container {
    flex-wrap: wrap;
}

/* Selection Info Container - Full width row under logo */
/* Reserved space so body doesn't shift when badges appear */
.selection-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-basis: 100%;
    min-height: 50px;
    margin-top: 12px;
    padding: 0;
    gap: 16px;
}

/* Country Display Badge - Left side */
.selected-country-display {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.selected-country-display.visible {
    opacity: 1;
    transform: translateX(0);
}

.selected-country-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 24px;
    font-weight: 700;
    color: #0369a1;
    justify-content: end;
}

.selected-country-badge .country-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.selected-country-badge .country-name {
    color: #0c4a6e;
    font-weight: 600;
}

/* Pricing Display Badge - Right side */
.selected-pricing-display {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.selected-pricing-display.visible {
    opacity: 1;
    transform: translateX(0);
}

.selected-pricing-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 8px 16px;
    font-size: 24px;
}

.selected-pricing-badge .plan-name {
    color: #0c4a6e;
    font-weight: 700;
    font-size: 24px;
}

.selected-pricing-badge .transaction-fee {
    font-weight: 500;
    font-size: 12px;
}

.selected-pricing-badge .transaction-fee::before {
    content: "Transaction Fee: ";
    color: #6b7280;
    font-weight: 400;
}

/* Title container divider line */
.title__container .logo-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    margin: 15px 0 10px 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .selection-info-container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .selected-pricing-badge {
        align-items: center;
    }
}
