﻿/*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;
}*/

input[type="checkbox"].custom-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    top: 5px;
}

    input[type="checkbox"].custom-checkbox:checked {
        background-color: #1ab394;
        border-color: #1ab394;
    }

        input[type="checkbox"].custom-checkbox:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 6px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

    input[type="checkbox"].custom-checkbox:disabled {
        background-color: #1ab394;
        border-color: #1ab394;
        opacity: 0.5;
        cursor: not-allowed;
    }

input[type="radio"].custom-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    top: 5px;
}

    input[type="radio"].custom-checkbox:checked {
        background-color: #1ab394;
        border-color: #1ab394;
    }

        input[type="radio"].custom-checkbox:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 6px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

/* 截斷超出的文字並顯示省略號（…） */
.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

[v-cloak] {
    display: none;
}

#page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    z-index: 9999;
    display: none; /* 預設不顯示 */
    justify-content: center;
    align-items: center;
}

.btn {
    margin-right: 5px;
}

.custom-icon {
    border-color: #808080 !important;
}

#page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    z-index: 9999;
    display: none; /* 預設不顯示 */
    justify-content: center;
    align-items: center;
}