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%;
}

body {
  margin-bottom: 60px;
}
.d-flex{
    display:flex;
}
.justify-content-between{
    justify-content:space-between;
}
.justify-content-center{
    justify-content:center;
}
.text-align-center{
    text-align:center
}
.align-item-center {
    align-items: center;
}
.position-relative{
    position:relative;
}
.text-danger{
    color:red;
    font-size:12px;
}
label.required{
    position:relative;
    display:inline;
}
label.required:after {
    content:"*";
    font-size:10px;
    position:absolute;
    top:0;
    right:-8px;
    color:red;
}
.error-strip {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #ff000021;
    background: #ff00002e;
    border-radius: 20px;
    color: red;
}
.success-strip {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #ff000021;
    background: #ff00002e;
    border-radius: 20px;
    color: red;
}
.hide{
    display:none;
}

/*Loader start */

.loader-overlay {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    z-index: 9999;
    transition: opacity 180ms ease;
    opacity: 1;
}

    .loader-overlay.hidden {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }

/* Box containing spinner + text */
.loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 22px;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    min-width: 160px;
}

/* SVG spinner */
.loader-spinner {
    width: 48px;
    height: 48px;
    animation: rotate 1s linear infinite;
}

    .loader-spinner .path {
        stroke: #1f2937; /* neutral dark color */
        stroke-linecap: round;
        stroke-dasharray: 90;
        stroke-dashoffset: 20;
        animation: dash 1.1s ease-in-out infinite;
    }

/* Small / large variants */
.loader-box.small .loader-spinner {
    width: 28px;
    height: 28px;
}

.loader-box.large .loader-spinner {
    width: 72px;
    height: 72px;
}

.loader-text {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    font-size: 14px;
    color: #111827;
    text-align: center;
}

/* Animations */
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 90;
    }

    50% {
        stroke-dashoffset: 30;
        transform: rotate(45deg);
    }

    100% {
        stroke-dashoffset: 90;
    }
}

.popup-loader {
    position: absolute;
    inset: 0; /* top:0, right:0, bottom:0, left:0 */
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.2s ease;
}

    .popup-loader.hidden {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
/*Loader End */

.success-icon i{
    font-size:4vw;
    color:#5bcf01;
}
.success-card p,h1{
    text-align:center;
}
.category-slider {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.category-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 0 40px;
}

    .category-container::-webkit-scrollbar {
        display: none;
    }

.category-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s;
}

    .category-item:hover {
        transform: scale(1.08);
    }

    .category-item img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        background: #f3f3f3;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .category-item span {
        margin-top: 8px;
        font-size: 14px;
        color: #333;
        font-weight: 500;
        white-space: nowrap;
    }

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 2;
}

    .slide-btn.left {
        left: 5px;
    }

    .slide-btn.right {
        right: 5px;
    }

@media (max-width: 600px) {
    .slide-btn {
        display: none;
    }

    .category-item img {
        width: 50px;
        height: 50px;
    }

    .category-item span {
        font-size: 13px;
    }
}

.baseline{
    border-top:1px solid #00000033
}

