*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    background-color: #f8f9fc;
}
/* prduct img size in dashboard */
.product-img { width: 50px; height: 50px; object-fit: cover; }
.modal-body img { max-width: 100px; }
.notification-bell { position: relative; }
.notification-badge { 
position: absolute; 
top: -10px; 
right: -10px; 
background: red; 
color: white; 
border-radius: 50%; 
padding: 2px 8px; 
font-size: 12px; 
}

td {
font-size: 14px;
line-height: 1.4;
}

/* form control of product add */
.summernote-container {
max-width: 100%;
}
.note-editor.note-frame {
border: 1px solid #ced4da;
border-radius: 0.25rem;
}
#viewDescription img, #viewGallery img {
max-width: 100%;
height: auto;
}


/* for single-product */
.product-image {
max-height: 512px;
object-fit: cover;
transition: transform 0.3s ease;
cursor: zoom-in;
border-radius: 5px;
}
.product-image.zoomed {
transform: scale(1.5);
cursor: zoom-out;
}
.product-description img {
max-width: 100%;
height: auto;
}
.product-description {
border: 1px solid #ced4da;
padding: 15px;
border-radius: 0.25rem;
}
.gallery-image {
max-height: 80px;
object-fit: cover;
cursor: pointer;
margin: 5px;
}
.carousel-item img {
max-height: 400px;
object-fit: cover;
}
.carousel-control-prev, .carousel-control-next {
width: 5%;
}
/* Countdown Timer Styles */
.countdown-container {
display: flex;
gap: 10px;
margin-top: 15px;
font-family: monospace;
}
.countdown-item {
background: #343a40;
color: #fff;
border-radius: 5px;
text-align: center;
min-width: 60px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.countdown-item span {
display: block;
font-size: 1.5rem;
font-weight: bold;
position: relative;
}
.countdown-item#seconds span {
animation: flip 0.5s ease-in-out;
}
.countdown-item label {
font-size: 0.8rem;
text-transform: uppercase;
color: #adb5bd;
}
@keyframes flip {
0% { transform: rotateX(90deg); opacity: 0; }
100% { transform: rotateX(0deg); opacity: 1; }
}
.p_title {
font-size: 2.8rem;
font-weight: 700;
line-height: 1.2;
font-family: Arial, Helvetica, sans-serif;
}


/* for graphh dashboard */
    .card-bodyx {
        flex: 1 1 auto;
        min-height: 1px;
        margin: 0;
        padding: 5px 0px 5px 15px;
    }

    /* graph */
    .metric-card {
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        /* Using Bootstrap's shadow and rounded classes */
    }

    .metric-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
        /* Bootstrap's larger shadow */
    }

    .loader {
        border: 4px solid #f3f3f3;
        border-top: 4px solid #3498db;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 2s linear infinite;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .chart-container-wrapper {
        position: relative;
        min-height: 350px;
        /* Adjust as needed */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* end graph */