﻿
/*功能樣式*/
.k-grid .k-command-cell {
    text-align: center;
}

/*功能button樣式*/
.k-grid .k-command-cell
.k-button {
    background: #325d88;
    color: white;
    font-size: 13px;
    border-radius: 8px;
    width: 3.5rem;
    height: 2.5rem;
}

.k-grid .k-grid-toolbar
.k-button {
    background: linear-gradient(#4A77AA, #325A88);
    color: white;
    font-size: 14px;
    width: 60px;
    height: 40px;
}

/*關閉icon圖*/
.k-grid .k-command-cell
.k-button .k-button-icon {
    display: none;
}

.k-grid .k-grid-toolbar
.k-button .k-button-icon {
    display: none;
}

/*header樣式*/
.k-grid .k-grid-header
tr th {
    /*background: linear-gradient(#5788C1, #325A88);*/
    background: #496191;
    text-align: center;
    color: white;
    text-shadow: 2px 1px 1px rgb(50,90,136);
}

.k-grid .k-pager-numbers .k-link.k-state-selected {
    background-color: #325A88;
}

.k-grid-header .k-grid-filter.k-state-active {
    background-color: #5783AC !important;
}

/* Expander樣式 */
.k-expander-header {
    background-color: #4FA0A9 !important;
}

.k-expander-header:hover{
    background: #3F858C !important;
}

.k-expander-title{
    color: white !important;
}

.input-container {
    position: relative;
    height: 70px;
}

.form-control {
    position: relative;
    align-self:center;
}

.input-container .form-control {
    padding-right: 50px; /* 給單位留出空間 */
}

.form-control:focus, .form-select:focus {
    border-width: 1.5px;
    box-shadow: none;
    outline: none; /* 移除默認的聚焦外框 */
    transition: all 0.1s ease-in-out; /* 添加過渡效果 */
}

.input-container .form-label {
    position: absolute;
    top: -18px;
    left: 15px;
    padding: 0 5px;
    background: white;
    /* font-size: 0.85rem; */
    z-index: 1;
}

.input-container .input-unit {
    position: absolute;
    top: 6px;
    right: 15px;
    padding: 0 5px;
    background: white;
    /* font-size: 0.85rem; */
/*    transition: all 0.2s ease-in-out;*/
    z-index: 2;
}