html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}



.form-control {
    background-color: #ffffff !important;
    color: #000 !important;
    border: 1px solid #ced4da !important;
    padding: 10px 12px;
    border-radius: 6px;
    box-shadow: none !important;
}

    .form-control::placeholder {
        color: #6c757d !important;
    }

.col-md-6, .col-md-12 {
    margin-bottom: 20px;
}

.order-summary-container {
    border: 1px solid #e5e5e5;
    padding: 50px;
    background: #fff;
    max-width: 650px;
}

.section-title {
    font-size: 18px;
    font-weight: 510;
    margin-bottom: 15px;
}

.summary-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.summary-row,
.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 10px;
}

.summary-total {
    font-weight: bold;
    color: #ff6a00;
}

.summary-note {
    font-size: 13px;
    color: #555;
    margin: 0;
}

.coupon-input {
    margin-bottom: 20px;
    height: 45px;
    border-radius: 6px;
}

.payment-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 5px;
}

.payment-method label {
    font-weight: 500;
    font-size: 15px;
}

.payment-desc {
    margin: 0;
    font-size: 13px;
    color: #555;
    margin-left: 25px;
    margin-top: 3px;
}

.btn-place-order {
    width: 100%;
    background: #039CDF;
    border: #1b6d85;
    border-color: #009bde;
    padding: 15px;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
}

    .btn-place-order:hover {
        background: #222222;
        border: #222222;
    }

.mt-6 {
    margin-top: 90px;
}


/* container for avatar */
.user-menu {
    position: relative;
    display: inline-block;
    margin-top: -2px;
}

.avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    overflow: visible;
    border: 2px solid transparent;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
    display: block;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* online green dot */
.online-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #26c281; /* green */
    border: 2px solid #fff; /* white border to separate from avatar */
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* dropdown card */
.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(9,30,66,0.08);
    border: 1px solid rgba(15, 15, 15, 0.06);
    overflow: hidden;
    transform-origin: top right;
    z-index: 1000;
    display: none; /* toggled with JS */
}

    .user-dropdown.show {
        display: block;
        animation: pop .12s ease-out;
    }

@keyframes pop {
    from {
        transform: scale(.98);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

.user-card {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f3f5;
}

    .user-card .avatar-small {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        overflow: hidden;
    }

    .user-card .name {
        font-weight: 600;
        font-size: 14px;
        color: #222;
    }

    .user-card .status {
        font-size: 12px;
        color: #6b7280;
        display: block;
        margin-top: 2px;
    }

.user-actions {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .user-actions a,
    .user-actions button {
        text-decoration: none;
        display: flex;
        gap: 8px;
        align-items: center;
        padding: 10px;
        border-radius: 8px;
        border: none;
        background: transparent;
        cursor: pointer;
        color: #374151;
    }

        .user-actions a:hover,
        .user-actions button:hover {
            background: #9ccfe5;
        }

.logout-btn {
    margin: 10px;
    margin-top: 0;
    background: #039CDF;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
    width: calc(100% - 20px);
    border: none;
    cursor: pointer;
    display: block;
    text-align: center;
    font-weight: 600;
}

/* small vertical ellipsis handle (optional) */
.menu-handle {
    position: absolute;
    top: 6px;
    right: -36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

/* optional: responsive tweak */
@media (max-width: 480px) {
    .user-dropdown {
        right: -6px;
        min-width: 200px;
    }
}

.btn-subscription-order {
    width: 100%;
    background: #039CDF;
    border: #1b6d85;
    border-color: #009bde;
    padding: 15px;
    border-radius: 30px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-subscription-order:hover {
        background: #222222;
        border: #222222;
    }


.price-header {
    background-color: #039cdf;
    color: white;
    padding: 3px 0;
    font-size: 18px;
    font-weight: bold;
}

.price {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.per {
    font-size: 18px;
    color: #888;
    margin-left: 5px;
}

.btn-subscription-plan {
    width: 100%;
    background: #039CDF;
    border: #1b6d85;
    border-color: #009bde;
    padding: 4px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    text-align:center;
}

    .btn-subscription-plan:hover {
        background: #222222;
        border: #222222;
        color: #fff;
    }