﻿/*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;
}
*/

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7); /* Blue with opacity */
}

.loading-overlay {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.nav-disable {
    pointer-events: none;
    opacity: 0.5;
}

@media print {
    .no-print {
        display: none;
    }
}

.highlight {
    background-color: rgb(255, 192, 255) !important;
}

.highlight-sky-blue {
    background-color: #8adeed !important;
}

tr:hover {
    cursor: pointer; /* Pointer cursor on hover */
}

/*.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: calc(3.5rem + 20px);
}*/
.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: 0;
}

.hide-col {
    display: none;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    white-space: nowrap;
    table-layout: auto;
    width: 100%;
}

/* .required {
  color: red;
} */

label.required::after {
    content: "*";
    color: red;
}

.sub-active {
    background-color: #838995;
    color: white;
}

.sub-active p {
    color: white;
}

.sub-active i {
    color: white;
}
.badge-fuchsia {
    color: #fff;
    background-color: #f012be !important;
}
.badge-pink {
    color: #fff;
    background-color: #e83e8c !important;
}

#preview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border: 2px dashed #ccc;   /* dashed border */
    padding: 10px;             /* inner spacing */
    border-radius: 6px;        /* rounded corners */
    min-height: 120px;         /* optional: reserve space for previews */
    background-color: #fafafa; /* optional: subtle background */
}
.preview-image {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border: 2px dashed #ccc;
    padding: 10px;
    border-radius: 6px;
    min-height: 120px;
    background-color: #fafafa;
    position: relative;
}

/* Add image button */
.add-image-btn {
    width: 120px;
    height: 120px;
    border: 2px dashed #bbb;
    border-radius: 6px;
    background: #fff;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.add-image-btn:hover {
    background: #f0f0f0;
    border-color: #28a745;
    color: #28a745;
}
#preview.dragover {
    border-color: #4CAF50;
    background-color: #f0fff0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#actions .btn-group .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#total-progress {
    height: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-success {
    background-color: #28a745;
}

.upload-area {
    max-width: 600px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.upload-dropzone {
    border: 2px dashed #ccc;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.upload-dropzone.dragover {
    border-color: #28a745;
}

.preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.preview .file-preview {
    position: relative;
    width: 120px;
    height: 120px;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}
.preview {
    position: relative;
    width: 120px;
    height: 120px;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

.preview .file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview .file-preview button {
    position: absolute;
    top: 2px;
    right: 2px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress {
    flex: 1;
    height: 20px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #28a745;
    width: 0%;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    box-shadow: none;
}

.btn-fuchsia {
    color: #fff;
    background-color: #f012be !important;
}
.btn-pink {
    color: #fff;
    background-color: #e83e8c !important;
}

.btn-gold {
    background-color: #f5d77a; /* Gold base */
    color: #fff;               /* Text color */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
/* ===== Blue - Grey - Blue Skeleton ===== */
/*.skeleton {*/
/*    background: linear-gradient(*/
/*            90deg,*/
/*            #93c5fd 0%,     !* left blue *!*/
/*            #e5e7eb 50%,    !* center grey *!*/
/*            #93c5fd 100%    !* right blue *!*/
/*    );*/
/*    background-size: 300% 100%;*/
/*    animation: shimmer-ltr 1.5s linear infinite;*/
/*    border-radius: 4px;*/
/*}*/
/*.skeleton {*/
/*    background: linear-gradient(*/
/*            90deg,*/
/*            #93c5fd 0%,*/
/*            #c7dbf7 25%,*/
/*            #e5e7eb 50%,*/
/*            #c7dbf7 75%,*/
/*            #93c5fd 100%*/
/*    );*/
/*    background-size: 300% 100%;*/
/*    animation: shimmer-ltr 1.6s ease infinite;*/
/*}*/
/*!* Left ➜ Right movement *!*/
/*@keyframes shimmer-ltr {*/
/*    0%   { background-position: 0% 0; }*/
/*    100% { background-position: 100% 0; }*/
/*}*/
.skeleton {
    background: linear-gradient(
            90deg,
            #e5e7eb 0%,     /* left grey */
            #93c5fd 50%,    /* center blue */
            #e5e7eb 100%    /* right grey */
    );
    background-size: 200% 100%; /* make the wave move */
    animation: shimmer-ltr 1.5s ease-in-out infinite;
    border-radius: 4px;
}

/* Left ➜ Right movement */
@keyframes shimmer-ltr {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 10px;
}

.skeleton-text {
    height: 14px;
    width: 100%;
    margin-bottom: 8px;
}

@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.page-skeleton {
    padding: 20px;
}
/*.primary{*/
/*    background-color: #18196c;*/
/*}*/
/*.info{*/
/*    background-color: #17a2b8 !important;*/
/*}*/
/*.success{*/
/*    background-color: #28a745 !important;*/
/*}*/
/*.warning{*/
/*    background-color: #ffc107 !important;*/
/*}*/
/*.danger{*/
/*    background-color: #dc3545 !important;*/
/*}*/
/*.fuchsia{*/
/*    background-color: #f012be !important;*/
/*}*/
/*.pink{*/
/*    background-color: #e83e8c !important;*/
/*}*/
/*.default{*/
/*    background-color: #f8f9fa !important;*/
/*}*/


.language-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 4px 8px !important;
}

.language-flag {
    width: 40px;
    height: 28px;
    object-fit: cover;
    border-radius: 3px;
}