.price-card {
    border-radius: 20px;
    max-width: 520px;
    background: white;
    padding: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin: 80px auto 20px auto;  /* ⬅ moves box lower from top */
    font-family: 'Segoe UI', sans-serif;
    border: 2px solid #d9d9d9;
 width: 100%; 
float: left;
}

/* Tabs */
.price-tabs {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    font-size: 11px;
    /*margin-bottom: 12px;*/
    border-bottom: 2px solid #ccc;
}

.price-tabs button {
    background: none;
    border: none;
    padding: 8px 12px;
    color: #777;
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.price-tabs .active {
    color: #f5af00;
    border-bottom: 3px solid #f5af00;
}

/* Rows */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.price-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-left img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.price-left-text .title {
    font-weight: bold;
    color: #f5af00;
    font-size: 15px;
    margin-bottom: 4px;
}

.badge-outline {
    border: 1px solid #c13b3b;
    color: #c13b3b;
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

/* Right Side */
.rate-right {
    text-align: right;
}

.rate-value {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-right: 60px;
}

.rate-sub {
    font-size: 12px;
    color: #c13b3b;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

/* Live Blinking Dot */
.live-red {
    color: red;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.live-red::before {
    content: "●";
    margin-right: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}

/* Amount Box */
.amount-box {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding: 20px;
    background: #f1f1f1;
    border-radius: 12px;
    position: relative;
}

.amount-box .box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* vertical center */
}

.amount-box .box label {
    color: #555;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.amount-box .box input {
    border: none;
    border-bottom: 2px solid #c13b3b;
    background: transparent;
    text-align: center;
    width: 90%;
    font-size: 18px;
    font-weight: bold;
    padding: 4px 0;
    margin-top: 2px;
}

.amount-box .icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #999;
}

/* Buy Button */
.buy-now {
    background: #a73d4d;
    padding: 14px;
    margin-top: 25px;
    width: 100%;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    font-size: 18px;
    color: white;
    transition: 0.3s ease;
    cursor: pointer;
}

.buy-now:hover {
    background: #8b2f3d;
}

/* ✅ Mobile & small tablets (up to 768px) */
@media (max-width: 768px) { 
  .price-card {
    margin: 40px auto 20px auto;
    width: 93%;
    margin-top: 1in;
  }

  .rate-value {
    font-size: 24px;
    margin-right: 20px;
  }

  .amount-box {
    flex-direction: column;
    gap: 15px;
  }

  .amount-box .icon {
    display: none; /* hide middle icon in stacked layout */
  }
}

/* ✅ Tablets (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .price-card {
    width: 80%;   /* more space on tablets */
    margin: 30px auto;
  }

  .rate-value {
    font-size: 26px;
  }
.price-tabs {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 12px;
    border-bottom: 2px solid #ccc;
}

  .amount-box {
    flex-direction: row;
    gap: 20px;
  }
}

/* ✅ Small laptops (1025px – 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
  .price-card {
    width: 150%;  
    margin: 40px auto;
  }

  .rate-value {
    font-size: 28px;
}
.price-tabs {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 12px;
    border-bottom: 2px solid #ccc;
}
  }

