:root {
    --purple-color: #6b21a8;
    --blue-color: #3598dc;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(54, 198, 211, 0);
    border-radius: 10px;
    transition: background-color 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(54, 198, 211, 0.5);
}

.no-arrow::-webkit-inner-spin-button,
.no-arrow::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-arrow {
    -moz-appearance: textfield;
}

.no-underline {
    text-decoration: none;
}

.navbar {
    height: 90px;
}

/* Start Dashboard Styles */

.dashboard-stat {
    display: block;
    padding: 15px;
    border-radius: none;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.dashboard-stat .visual {
    width: 70px;
    height: 70px;
    float: left;
    font-size: 38px;
    padding-top: 10px;
    opacity: 0.2;
}

.dashboard-stat .visual i {
    position: absolute;
    left: -1.5rem;
    bottom: -0.5rem;
    font-size: 5rem;
}

.dashboard-stat .details {
    float: right;
    text-align: right;
}

.dashboard-stat .number {
    font-size: 32px;
    font-weight: 700;
}

.dashboard-stat.blue {
    background: #3598dc;
}

.dashboard-stat.red {
    background: #e7505a;
}

.dashboard-stat.green {
    background: #32c5d2;
}

.dashboard-stat.purple {
    background: #8E44AD;
}

.dashboard-stat.yellow {
    background: #F1C40F;
    color: #fff;
}

/* End Dashboard Styles */

.data-table-button {
    width: auto;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    background: transparent;
    transition: all .2s ease;
}

.page-title {
    /* margin-top: 3rem; */
    margin-bottom: 1rem;
    font-size: 24px;
    padding: 0px;
    font-size: 28px;
    letter-spacing: -1px;
    display: block;
    color: #666;
    font-weight: 300;
}

.page-title small {
    font-size: 14px;
    letter-spacing: 0px;
    font-weight: 300;
    color: #888;
}

.header-title-color {
    color: aqua;
    margin-bottom: 0;
    font-weight: 100;
}

.dashboard-portlet {
    display: flex;
    flex-direction: column;
    border: 0px solid #eeeeee;
    gap: 16px;
}

.dashboard-portlet-title {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eeeeee;
}

.dashboard-portlet-title .caption {
    font-size: 16px;
    font-weight: 700;
    color: #32c5d2;
    margin-bottom: 10px;
}

.portlet {
    display: flex;
    flex-direction: column;
    border: 1px solid #eeeeee;
}

.portlet-title {
    padding: 20px 0;
    margin: 0 20px;
    border-bottom: 1px solid #eeeeee;
}

.portlet-title>.actions {
    display: flex;
    justify-content: flex-end;
}

.auction-ended {
    animation: blink .7s linear infinite;
}

@keyframes blink {
    0% {
        opacity: 100;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 100;
    }
}

.no-category {
    padding: 20px;
    text-align: center;
    font-size: 16px;
    color: #666;
    opacity: 0.8;
}

/* Image Upload Preview Area */

.preview-area {
    width: 100%;
    min-height: 150px;
    border: 2px dashed #4b5563;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
}

.preview-item {
    position: relative;
    width: 120px;
    height: 120px;
    border: 2px solid #374151;
    border-radius: 8px;
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
    z-index: 10;
}

/* Cropper Container */
.img-container {
    width: 100%;
    height: 400px;
    background-color: #f7f7f7;
    text-align: center;
}

#imageToCrop {
    max-width: 100%;
}

/* Text */

.text-right {
    text-align: right;
}

.table-action {
    width: 12rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.table-action-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-block: 5px;
}

.table-action-rows {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4px;
    margin-block: 5px;
}


.table-action-row .table-action-button {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-wrap: nowrap;
    width: fit-content;
    gap: 2px
}

.datepicker {
    width: 20rem;
    /* top: 90px !important; */
    /* top: 150px !important; */
}

.table-condensed {
    width: 100%;
}

/* Buttons */

.btn-outline-purple {
    color: var(--purple-color);
    border-color: var(--purple-color);
}

.btn-outline-purple:hover,
.btn-outline-purple:focus,
.btn-outline-purple:active {
    background-color: var(--purple-color);
    border-color: var(--purple-color);
    color: white;
}

.btn-outline-blue {
    border-color: var(--blue-color);
    color: var(--blue-color);
}

.btn-outline-blue:hover,
.btn-outline-blue:focus,
.btn-outline-blue:active {
    background-color: var(--blue-color);
    border-color: var(--blue-color);
    color: white;
}

/* Form Inputs */

.helper-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.error-message {
    font-size: 12px;
    color: #dc2626;
    font-weight: 100;
    font-style: italic;
}


/* Color Picker */

.color-picker-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 0px;
    width: 150px;
    height: 35px;
    padding: 0 8px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.color-picker-wrapper input[type="text"] {
    border: none;
    width: 100%;
    height: 100%;
    padding-left: 8px;
    font-size: 14px;
    background: transparent;
    color: #000;
    cursor: pointer;
}

.color-box {
    width: 25px;
    height: 25px;
    border-radius: 4px;
    border: 1px solid #ccc;
    flex-shrink: 0;
}

.color-picker-wrapper input[type="color"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Banner Preview Styling */
.banner-preview-container {
    width: 100%;
    max-width: 1000px;
    height: 300px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.banner-preview-container img {
    max-width: 100%;
    height: auto;
}

/* Cropper Modal Fix */
.img-container {
    max-height: 500px;
    width: 100%;
    overflow: hidden;
}

#rawImage {
    max-width: 100%;
}

.auction-end {
    color: #e7505a;
}