/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
LAST UPDATED: 28/11/2025 BY AMRI
*/

.loading-dots span {
   font-size: 1.6rem;
   animation: blink 1.4s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
     0%, 80%, 100% { opacity: 0; }
     40% { opacity: 1; }
}

/* blinking form */
.blinking { animation: blink 1s infinite; }
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.blink-pulse {
    display: inline-block;
    animation: pulse-blink 1s infinite;
}

@keyframes pulse-blink {
    0%   { opacity: 1; transform: scale(1); }
    25%  { opacity: 0.5; transform: scale(1.1); }
    50%  { opacity: 0.2; transform: scale(1); }
    75%  { opacity: 0.5; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}


.form-control-square { border-radius: 0 !important; }
.mdi-16 { font-size: 16px; }
.mdi-18 { font-size: 18px; }
.mdi-24 { font-size: 24px; }
.mdi-36 { font-size: 36px; }
.mdi-48 { font-size: 48px; }

.back-to-home {
	position: fixed;
	top: 4%;
	right: 2%;
	z-index: 1000;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 6px; 
	cursor: pointer;

	color: #333;
	font-size: 18px;
	line-height: 1;
	
	transition: all 0.2s ease-in-out;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* bayang petak */
}

.back-to-home:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3); /* bayang hijau lembut */
}


/* Progress bar submit form */
#working .progress {
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    background-color: #e0e0e0;
    margin-top: 6px;
}

#working .progress-bar {
    transition: width 0.3s ease;
    background: linear-gradient(90deg, #4fc3f7, #0288d1);
    box-shadow: 0 0 6px rgba(0, 150, 255, 0.6);
    position: relative;
}

#working .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    transform: skewX(-20deg);
    animation: shine 1s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 100%; }
}

#working .alert {
    transition: opacity 0.4s ease;
}





        #shopping-cart { margin: 0; padding: 0; }

        #shopping-cart .tbl-cart { font-size: 0.80rem; }
        #shopping-cart .tbl-cart th,
        #shopping-cart .tbl-cart td { border-color: #4B4A4A; vertical-align: middle; }
        #shopping-cart .tbl-cart th { background-color: #4B4A4A; color: #fff; font-weight: 500; }
        #shopping-cart .cart-item-image { max-width: 30px; height: auto; }
        #shopping-cart a.small { font-size: 0.75rem; }

        @media (max-width: 576px) {
            #shopping-cart .tbl-cart { font-size: 0.75rem; }
            #shopping-cart .cart-item-image { max-width: 20px; }
        }

/* =========================
   MULTI-STEPS PROGRESS BAR
   ========================= */


.product-card {
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #fff;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.product-card img {
    max-height: 100px;
    object-fit: contain;
}

.product-card .form-check-label {
    cursor: pointer;
}

.qty-input {
    text-align: center;
}



.multi-steps > li.is-active:before,
.multi-steps > li.is-active ~ li:before {
  content: counter(stepNum);
  font-family: inherit;
  font-weight: 700;

}
.multi-steps > li.is-active:after,
.multi-steps > li.is-active ~ li:after {
  background-color: #ededed;
}

.multi-steps {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.multi-steps > li {
  counter-increment: stepNum;
  text-align: center;
  display: table-cell;
  position: relative;
  color: black;
}
.multi-steps > li:before {
  content: '\f00c';
  content: '\2713;';
  content: '\10003';
  content: '\10004';
  content: '\2713';
  display: block;
  margin: 0 auto 4px;
  background-color: #dc3545;
  width: 36px;
  height: 36px;
  line-height: 32px;
  text-align: center;
  font-weight: bold;
  border-width: 3px;
  border-style: solid;
  border-color: black;
  border-radius: 50%;
}
.multi-steps > li:after {

  content: '';
  height: 3px;
  width: 50%;
  background-color: black;
  position: absolute;
  top: 16px;
  left: 75%;
  z-index: 0;
}

.multi-steps > li.is-active:before {
  background-color: #dc3545;
  border-color: black;
  border-width: 3px;
}
.multi-steps > li.is-active ~ li {
  color: #808080;
}
.multi-steps > li.is-active ~ li:before {
  background-color: #ededed;
  border-color: #ededed;
}

/* =========================
   CART BADGE (count_cart)
   ========================= */

.count_cart{
  font-size: 10px;
  color: #051c75;
  border: 1px solid #dc3545;
  border-radius: 10px;
  position: absolute;
  width: 16px;
  height: 16px;
  text-align: center;
  font-weight: 700;
  top: 33px;
  right: 22px;
  line-height: 14px;
}


/* =========================
   RESPONSIVE (skrin kecil)
   ========================= */

@media only screen and (max-width: 475px) {
  .count_cart{
    right: 3px;
  }
  .multi-steps > li:after {
    content: '';
    height: 3px;
    width: 43%;
    background-color: black;
    position: absolute;
    top: 16px;
    left: 79%;
    z-index: 0;
  }
}

.multi-steps > li:last-child:after {
  display: none;
}

/* =========================
   NOTIFICATION TOAST
   ========================= */
.toastify-close {
    right: 8px !important;
    top: 8px !important;
    font-size: 14px !important;
    opacity: 0.7 !important;
}

/* =========================
   END OF CUSTOM CSS
   ========================= */