/* The extra-company offer popup (Pages/ExtraCompanyOffer.razor). Gold accents as on the
   Subscription screen: #a87400 for gold text, #f5c542 / #d99a1e for fills and borders only. */
.eco {
    width: min(520px, 86vw);
    color: #1e2433;
    font-size: 0.9rem;
}

.eco-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.eco-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 197, 66, 0.16);
    border: 1px solid rgba(217, 154, 30, 0.35);
}

.eco-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.eco-sub {
    margin-top: 2px;
    color: #6b7385;
    font-size: 0.85rem;
}

.eco-price {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fffbea, #fff4d1);
    border: 1px solid #f0d58a;
}

.eco-price-main {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.eco-rupee {
    font-size: 1rem;
    font-weight: 600;
    color: #a87400;
}

.eco-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e2433;
    margin: 2px 0 6px;
}

.eco-once {
    font-size: 0.72rem;
    color: #6b7385;
    white-space: nowrap;
}

.eco-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
    font-size: 0.82rem;
    color: #4a5163;
}

.eco-lines .eco-total {
    margin-top: 4px;
    padding-top: 7px;
    border-top: 1px dashed #e0c370;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e2433;
}

.eco-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.eco-tile {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e6e9f0;
    background: #ffffff;
}

.eco-tile-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a92a3;
}

.eco-tile-value {
    margin-top: 3px;
    font-size: 1rem;
    font-weight: 700;
}

.eco-tile-value small {
    font-size: 0.72rem;
    font-weight: 500;
    color: #6b7385;
}

.eco-tile-note {
    margin-top: 2px;
    font-size: 0.72rem;
    color: #6b7385;
}

.eco-note {
    margin-top: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #7a4b00;
    background: #fff8e6;
    border-left: 3px solid #d99a1e;
}

.eco-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.eco-actions button {
    border: 0;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.eco-cancel {
    background: #eef0f4;
    color: #4a5163;
}

.eco-cancel:hover {
    background: #e2e5eb;
}

.eco-buy {
    background: linear-gradient(90deg, #fff1b8, #f5c542 45%, #d99a1e);
    color: #1e2433;
    box-shadow: 0 2px 8px rgba(217, 154, 30, 0.35);
}

.eco-buy:hover {
    filter: brightness(0.97);
}

@media (max-width: 520px) {
    .eco-price,
    .eco-tiles {
        grid-template-columns: 1fr;
    }
}
