@font-face {
    font-family: 'Inter_VariableFont_slnt';
    src: url('../fonts/Inter_VariableFont_slnt.ttf') format("truetype");
}
@font-face {
    font-family: 'NotoSansTC';
    src: url('../fonts/NotoSansTC.ttf') format("truetype");
}

html {
    font-size: 14px;
    font-family: Microsoft JhengHei,"Inter", sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* ����˦� */
@media (max-width: 599px) {
    .modal-body {
        max-height: 80vh;
    }
}

/* ���O�˦� */
@media (min-width: 600px) and (max-width: 899px) {
    .modal-body {
        max-height: 75vh;
    }
}

/* �p���ୱ�˦� */
@media (min-width: 900px) and (max-width: 1199px) {
    .modal-body {
        max-height: 73vh;
    }
}

/* �j���ୱ�˦� */
@media (min-width: 1200px) {
    .modal-body {
        max-height: 77vh;
    }
}

.modal-body {
    overflow-y: auto;
}

.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;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none; /* ���ýb�Y */
    margin: 0; /* �h���~��Z */
}

input[type=number] {
    -moz-appearance: textfield; /* �� Firefox ����� */
}

.notification-dot {
    width: 8px; /* �p�I���e�� */
    height: 8px; /* �p�I������ */
    background-color: #66cc66; /* �p�I���C�� */
    border-radius: 50%; /* �Ϥp�I��� */
    position: absolute; /* �ϥε���w�� */
    top: -10px; /* �վ�p�I����m�A�����b div ���W�� */
    left: 9px; /* �����~�� */
    transform: translateX(-50%); /* ��T�����~�� */
    animation: blink 1s infinite; /* ���ΰ{�{�ʵe */
}
@keyframes blink {
    0%, 100% {
        opacity: 1; /* �����i�� */
    }

    50% {
        opacity: 0; /* �����z�� */
    }
}
.unread {
    background-color: #f0f0f050; /* �L�Ǧ�I�� */
}

    .unread a {
        font-weight: bold; /* �[�`��r */
        color: #333; /* �`���r */
    }

    .unread .text-gray-500 {
        color: #555; /* �[�`�Ƽ��D��r */
    }
.email-container {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.email-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.email-title {
    font-size: 24px;
    margin: 0;
}

.email-subtitle {
    font-size: 18px;
    color: #555;
    margin: 5px 0;
}

.email-content {
    font-size: 16px;
    line-height: 1.5;
}

.email-footer {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

.dropzone .dz-preview .dz-progress{
    bottom:10px;
}
/*     table �Ϊ�    */
.table.utktable {
    border-collapse: collapse !important;
    border: 0;
    border-radius: 1px;
    position: relative;
}

    .table.utktable tr th,
    .table.utktable tr td {
        border: 1px solid #7E8299;
    }
    .table.utktable .tableOrderBy{
        cursor:pointer;
    }

.utktable-scroll-button {
    position: absolute;
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 100;
    display: flex; /* �ϥ�flexbox�ө~���b�Y�ϼ� */
    align-items: center;
    justify-content: center;
}
.utktable-scroll-button:hover {
    background: rgba(0,0,0,0.2);
}

    .utktable-left-button {
        left: 0;
        top: 36px;
        bottom: 0;
        width: 30px;
    }
    .utktable-left-button::before {
        content: '\f053'; /* Font Awesome���V���b�Y�ϼ� */
    }

    .utktable-right-button {
        right: 0;
        top: 36px;
        bottom: 0;
        width: 30px;
    }
        .utktable-right-button::before {
            content: '\f054'; /* Font Awesome���V�k�b�Y�ϼ� */
        }

    .utktable-top-button {
        left: 0;
        top: 36px;
        right: 0;
        height: 30px;
    }
        .utktable-top-button::before {
            content: '\f062'; /* Font Awesome���V�W�b�Y�ϼ� */
        }

    .utktable-bottom-button {
        right: 0;
        left: 0;
        bottom: 0;
        height: 30px;
    }
        .utktable-bottom-button::before {
            content: '\f063'; /* Font Awesome���V�U�b�Y�ϼ� */
        }

/* �ϥ�Font Awesome�ϼ� */
.utktable-left-button::before,
.utktable-right-button::before,
.utktable-top-button::before,
.utktable-bottom-button::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9); /* �]�m�b�Y�C�� */
}

.utk-color-picker {
    width: 41px; /* �]�m�e�� */
    height: 41px; /* �]�m���� */
    border: none; /* ������� */
    padding: 0; /* ��������Z */
    cursor: pointer; /* �]�m���м˦� */
}

.hover-scale {
    transition: transform 0.3s ease; /* �����a���ɩ�j */
}
.hover-scale:hover {
    transform: scale(1.1); /* �����a���ɩ�j */
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TSMall Tooltip 樣式 */
.tsmall-tooltip {
    position: absolute;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    z-index: 10000;
    max-width: 320px;
    min-width: 200px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #495057;
    display: none;
    backdrop-filter: blur(10px);
    border-left: 4px solid #007bff;
}

.tsmall-tooltip-header {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f3f4;
}

.tsmall-tooltip-row {
    margin: 4px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.tsmall-tooltip-label {
    font-weight: 500;
    color: #6c757d;
    margin-right: 8px;
    min-width: 60px;
    flex-shrink: 0;
}

.tsmall-tooltip-value {
    color: #495057;
    text-align: right;
    word-break: break-word;
    flex: 1;
}

.tsmall-tooltip-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.tsmall-tooltip-status.active {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.tsmall-tooltip-status.inactive {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

.tsmall-tooltip-status.suspended {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.tsmall-tooltip-status.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.tsmall-tooltip-status.danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

.tsmall-tooltip-status.used {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.tsmall-tooltip-loading {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 8px;
}

.tsmall-tooltip-error {
    text-align: center;
    color: #dc3545;
    font-size: 12px;
    padding: 8px;
}