
[v-cloak] {
    display: none; 
}


.custom-actions-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.custom-actions-select-wrapper {
    background-color: #1a73e8; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white; 
    border-radius: 4px; 
}

.custom-actions-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    gap: 10px;
    flex-grow: 1;
}
.custom-left-actions {
    display: flex;
    align-items: center;
    gap: 2px; 
}

.custom-left-actions > *:first-child {
    border-right: 1px solid #ccc;
    padding-right: 12px; 
}

.custom-selected-count {
    font-weight: bold;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown-button {
    background-color: #1a73e8;
    color: white;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.custom-dropdown-button:after {
    content: '▼';
    font-size: 12px;
    margin-left: 10px;
}

.custom-remove-button {
    background-color: #1a73e8;
    color: white;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.custom-remove-button:after {
    font-size: 12px;
    margin-left: 10px;
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    list-style: none;
    padding: 5px 0;
    width: 150px;
    border-radius: 4px;
    z-index: 9999;
}


.custom-dropdown-item {
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}


.custom-dropdown-item:hover {
    background-color: #f1f3f4;
    color: #1a73e8;
}


.custom-dropdown-item.disabled {
    color: #bbb;
    cursor: not-allowed;
}


.custom-select-input {
    width: 120px;
}

.table-container {
    overflow-y: auto; 
}

.no-data-container {
    min-height: 300px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #999;
    font-size: 16px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.el-pagination {
    font-size: 18px;
}

.el-pagination .el-pager li {
    padding: 10px 15px;
}

.el-pagination .el-pagination__total,
.el-pagination .el-pagination__sizes,
.el-pagination .el-pagination__jump {
    font-size: 18px;
}

.custom-large-tag {
    font-size: 12px; 
    font-weight: bold; 
    margin: 2px;
}

.search-bar-dierct-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: start;
}

.search-bar-container {
    display: flex;
    flex-wrap: wrap;        
    gap: 16px;              
    justify-content: start;  
}

.search-bar-item {
    display: flex;
    flex-direction: column; 
    align-items: start; 
    width: auto;       
    white-space: nowrap;  
    gap: 2px;         
}

.search-bar-label {
    display: block;   
    text-align: left;    
    width: auto;    
    margin: 0;      
    font-weight: bold;
    color: #000; 
 
}

.search-bar-button {
    align-self: flex-start;     
    margin-top: auto;
}


.custom-form-header {
    background-color: #fff; 
    border-top: 1px solid #ebeef5; 
    border-bottom: 1px solid #ebeef5;
    border-left: none; 
    border-right: none; 
    border-radius: 4px; 
    display: flex;        
    align-items: center;
    padding: 0;         
}

.fixed-top{
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%;
    background-color: #fff; 
    z-index: 1000; 
    border-bottom: 1px solid #ebeef5;
}


.header-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button {
    font-size: 36px;
    color: #333;
    text-decoration: none;
    padding: 0px 24px 8px 24px;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
.back-button:hover {
    color: #aaa; 
}

.visable-back-button {
    font-size: 36px;
    color: #333;
    padding-right: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}
  
.visable-back-button:hover {
    color: #aaa; 
}

.custom-form-header-title {
    font-weight: bold; 
    color: #000;
    font-size: 24px; 
}



.custom-form-wrapper {
  width: 100%;
  margin-top: calc(1rem + 60px);
  text-align: center;
}

.custom-form-wrapper.lineitem{
    margin-top: calc(1rem + 120px);
}

.custom-form-wrapper.lineitem.impersonate{
    margin-top: 0px;
}

.custom-form-wrapper.general.impersonate{
    margin-top: 0px;
}

.custom-form-wrapper > * {
    text-align: left;
    display: inline-block;
    max-width: 95%; 
    width: 90%;
    text-align: left; 
}

.custom-form-container {
    align-items: center;
    width: 1200px;
    padding: 0 32px;
}

.custom-form-card-title {
    font-size: 18px;
    font-weight: bold;
    margin-top:16px;
    padding: 4px 4px;
    color: #303133;
}

.custom-form-card {
    background: #fff;               
    border: 2px solid #ebeef5;     
    border-radius: 8px;        
    margin: 24px 0;     
}

/* 表單欄位分組樣式 */
.custom-form-field-group {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    column-gap: 20px;
    padding: 24px;
}

/* 非最後一個欄位加上底部邊框 */
.custom-form-card .custom-form-field-group:not(:last-child) {
    border-bottom: 1px solid #ebeef5; 
}

/* 確保最後一個表單區塊沒有多餘邊框 */
.custom-form-card .custom-form-field-group:last-child {
    border: none;
}

.custom-form-item {
    display: block;
    justify-content: start;
    align-items: start;
    width: 100%;
}

.custom-row {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    width: 100%;
    gap:16px
}

.custom-col{
    display: flex;
    flex-direction: column;
    gap:8px;
}

.custom-form-label {
    display: flex;
    align-items: start;
    justify-content: start;
    font-weight: bold;
    font-size: 14px;
    color: #000;
}


.tip-container {
    margin-left: 8px;
    width: auto;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tip-trigger {
    background-color: #fff; 
    color: #000;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.tip-content {
    visibility: hidden;
    opacity: 0;
    background-color: #fff;
    color: #333;
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 16px;
    position: absolute;
    bottom: 100%; 
    left: 50%;
    transform: translate(-10%, -10%);
    z-index: 888;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.tip-container:hover .tip-content,
.tip-trigger:focus + .tip-content {
    visibility: visible;
    opacity: 1;
}

.flex-form-item{
    display: flex; 
 }

.custom-form-validate {
    margin-top: 8px;
    margin-bottom:8px; 
}



.custom-form-footer {
    text-align: left;
}


.custom-form-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    margin:0px 4px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #409eff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 36px;  
    line-height: 1;
}

.custom-form-submit-button:hover {
    background-color: #66b1ff;
}

.custom-form-submit-button:active {
    background-color: #3a8ee6;
}

.custom-form-submit-button:disabled {
    background-color: #c0c4cc;
    cursor: not-allowed;
    opacity: 0.7;
}



/* 次按鈕樣式 (Cancel) */
.custom-form-cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    margin:0px 4px;
    font-size: 16px; 
    font-weight: 500; 
    color: #6c757d;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 36px; 
    line-height: 1;
    border: none; /* 移除邊框 */
}

.custom-form-cancel-button:hover {
    background-color: rgba(0, 0, 0, 0.05); 
    color: #343a40; /* 懸停時深灰文字 */
    border-radius: 4px;
}

.custom-form-cancel-button:active {
    background-color: rgba(0, 0, 0, 0.1); 
    color: #212529;
}


.custom-col-1  { grid-column: span 1; }
.custom-col-2  { grid-column: span 2; }
.custom-col-3  { grid-column: span 3; }
.custom-col-4  { grid-column: span 4; }
.custom-col-5  { grid-column: span 5; }
.custom-col-6  { grid-column: span 6; }
.custom-col-7  { grid-column: span 7; }
.custom-col-8  { grid-column: span 8; }
.custom-col-9  { grid-column: span 9; }
.custom-col-10 { grid-column: span 10; }
.custom-col-11 { grid-column: span 11; }
.custom-col-12 { grid-column: span 12; }
.custom-col-13 { grid-column: span 13; }
.custom-col-14 { grid-column: span 14; }
.custom-col-15 { grid-column: span 15; }
.custom-col-16 { grid-column: span 16; }
.custom-col-17 { grid-column: span 17; }
.custom-col-18 { grid-column: span 18; }
.custom-col-19 { grid-column: span 19; }
.custom-col-20 { grid-column: span 20; }
.custom-col-21 { grid-column: span 21; }
.custom-col-22 { grid-column: span 22; }
.custom-col-23 { grid-column: span 23; }
.custom-col-24 { grid-column: span 24; }


/* 表單樣式 */
.custom-form-radio {
    display: flex !important;  
    align-items: center !important;
}



.custom-tabs {
    position: relative;
  }
  
  .tabs-header {
    display: flex;

  }
  
  .tab-item {
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
  }
  
  .tab-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    height: 20px;
    width: 1px;
    background-color: #dcdfe6;
  }
  .tab-item.active {
    color: #409eff;
    font-weight: bold;
  }
  
  .tab-item.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #409eff;
    z-index: 1;
  }
  
  .tab-item:hover {
    color: #409eff;
  }



@media (max-width: 1199.98px) {
    .custom-search-bar-container {
        align-items: flex-start;
    }

    .custom-search-bar-item {
        width: 100%;
    }

    .custom-form-field-group {
        display: flex;
        flex-direction: column; 
        row-gap: 8px; 
    }

    .custom-form-label {
        justify-content: flex-start; 
        text-align: left;
        width: 100%; 
    }

    .custom-form-validate-group {
        display: flex;
        flex-direction: column; 
        row-gap: 8px; 
    }
    
    .custom-form-item {
        width: 100%;
    }
}

.custom-file-upload {
    display: flex;
    align-items: center;            
    gap: 6px;   
}

.custom-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; 
}

.custom-upload-label input[type="file"] {
    display: none;
}

.custom-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 16px;             
    background-color: #ecf5ff;     
    color: #409eff;            
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #a0cfff; 
    border-radius: 4px;     
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.custom-upload-button:hover {
    background-color: #409eff;      /* hover 背景改為主色 */
    color: white;                   /* 字體變白 */
    border-color: #409eff;     
}

.custom-upload-button:focus, 
.custom-upload-button:active {
    background-color: #66b1ff;      /* 點擊時顏色 */
    border-color: #66b1ff;
    color: white;
}


.custom-file-display {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;                 
    padding: 6px 8px;
    border: 2px solid #d9d9d9; 
    border-radius: 8px;         
    background-color: #f9f9f9; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}


.custom-preview-container {
    display: flex;          
    align-items: center;    
    gap: 12px;
}

.custom-upload-warning-tag {
    display: inline-block;
    background-color:#fef0f0;
    color: #f56c6c;             
    border: 1px solid #fde2e2;  
    font-size: 14px;          
    padding: 4px 16px;         
    border-radius: 1.5rem;        
    font-weight: bold;
    line-height: 1.4;
}

/* .custom-upload-warning-tag-back {
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 1.5rem;
    font-weight: bold;
}      */



.custom-file-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    flex: 1 1 auto;        
    min-width: 200px;       
}

.custom-delete-button {
    font-size: 20px;
    color: #f56c6c;       
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.custom-delete-button:hover {
    color: #ff4d4f;        
    transform: scale(1.2);
}



.custom-input-wrapper {
    position: relative;
    width: 100%;
}


/* 自訂輸入框 */
.custom-form-input {
    width: 100%;
    height: 50px;
    font-size: 14px;
    padding: 10px 16px;
    border: 1px solid #ebeef5;
    border-radius: 8px;
    outline: none;
    background-color: #fff;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* 輸入框聚焦時的樣式 */
.custom-form-input:focus {
    border-color: #409eff;
    box-shadow: 0 0 5px rgba(64, 158, 255, 0.5);
}

/* 字數計數顯示 (輸入框外) */
.character-counter {
    font-size: 14px;
    color: #aaa;
    text-align: right;
    display: block;
    margin-top: 4px;
}

/* 字數達上限時變紅 */
.limit-reached {
    color: red;
    font-weight: bold;
}
/*關閉input*/
.custom-form-input:disabled {
    background-color: #f5f5f5;
    color: #aaa;
}


.large-select .el-select__wrapper {
    height: 48px !important;
    min-height: 48px !important;
    padding: 6px 18px !important;
    box-sizing: border-box;
}
  
.large-select .el-select__input {
height: 48px !important;
line-height: 48px !important;
font-size: 14px;
}


.normal-select .el-select__wrapper {
    height: 36px !important;
    min-height: 36px !important;
    padding: 6px 12px !important; 
    box-sizing: border-box;
}
  

.normal-select .el-select__input {
    height: 36px !important;
    font-size: 14px; 
    padding: 6px 12px !important; 
}


.custom-form-input-group {
    margin: 0;
    padding: 0;
    border: 2px solid #ced4da;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    background-color: #e9ecef;
}

.custom-form-input-group-label {
    padding: 6px 12px;
    border-right: 1px solid #ced4da;
    background-color: #e9ecef;
    color: #495057;
    white-space: nowrap;
    font-weight: bold;
}

.custom-form-input-group-content {
    padding: 6px 12px;
    background-color: #e9ecef;
    color: #495057;
    white-space: nowrap;
    font-weight: bold;
}

.custom-form-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-form-radio-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000;
}

.custom-form-input-group-text {
    padding: 6px 12px;
    border: none;
    font-size: 14px;
    width: 80px;
    text-align: center;
}

.header-panel {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
}

.overview-container {
    display: flex; 
    flex-direction: row; 
    align-items: start;
}

.overview-link:hover {
    text-decoration: underline; 
}

.overview-container {
    display: flex;
    flex-direction: row; 
    align-items: center;
    padding: 8px 0px;
}

.overview-link {
    text-decoration: underline; 
    font-size: 16px;
    color: #1a73e8;
    font-weight: 500; 
    margin-right: 8px;
}

.overview-name{
    font-size: 24px;
    font-weight: 500;
    color: #000; 
}


.create-with-product {
    display: flex;
    justify-content: end;  
    padding:16px 0px 16px 0px;
}

.product-form-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.product-form-container {
    align-items: center;
    width: 1000px;

}

.product-form-card {
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    padding: 8px; 
    background: #fff;               
    border: 2px solid #ebeef5;     
    border-radius: 8px;        
    min-height: 500px;
}

.product-form-header {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 8px; 
    background-color: #f5f7fa; 
    border-bottom: 1px solid #ebeef5;
    border-radius: 4px 4px 0 0;
}
.product-selection-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center; 
    color: #303133;
}
.product-form-field-group {
    display: grid;
    grid-gap: 4px;
    padding: 12px 48px;
    width: 100%;
    max-width: 1200px;
    grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 576px) {
    .product-form-field-group {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .product-form-field-group {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px) {
    .product-form-field-group {
        grid-template-columns: repeat(4, 1fr);
    }
}
.product-form-field-group.few-items {
    display: flex;
    flex-wrap: wrap; 
    gap: 32px; 
    padding:12px 48px;
    justify-content: center;
}
.card-container {
    text-align: center;          
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    gap:12px;
}
.parentcard {
    width: 180px;
    height: 140px;
    padding: 6px;
    background-color: #fff; 
    display: flex; 
    flex-direction: column; 
    justify-content: start;
    align-items: center; 
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.product-image {
    width: 120px;
    height: 120px;

}

.product-name {
    font-size: 16px; 
    color: #555;
    background: rgba(255, 255, 255, 0.8);
    width: 100%; 
    text-align: right;
    padding: 2px 6px; 
    box-sizing: border-box;
    margin-top: -24px;
}

.subcard {
    width: 140px;
    height: 40px;
    padding: 4px;
    background-color: #fff;
    display: flex; 
    justify-content: center;
    align-items: center; 
    font-size: 14px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    cursor: pointer; 
    text-align: center; 
    overflow: hidden;
}
.subcard:hover {
    transform: scale(1.05); 
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    background-color: #409EFF; 
    color: #fff; 
    border-color: #337FCC; 
}
.subcard:active {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: #3A8EE6; 
    color: #fff;
    border-color: #2C7BBF; 
}
.product-form-card .product-form-field-group:not(:last-child) {
    border-bottom: 1px solid #ebeef5; 
}

.product-form-card .product-form-field-group:last-child {
    border: none;
}

.operation-icon {
    cursor: pointer;
    font-size: 20px;
    color: #606266;
    margin: 0px 8px;
    transition: all 0.3s ease;
  }
  
.operation-icon:hover {
background-color: rgba(96, 98, 102, 0.1); 

color: #409EFF; 
}

tr.row-d-status td {
    background-color: #fdf6ec !important;
}

tr.row-d-status:hover td {
    background-color: #f5f7fa !important;
}

tr.row-d-status td {
    background-color: #e9ecef !important;
}

tr.row-d-status:hover td {
    background-color: #f5f7fa !important;
}



/* el-input clearable bug  https://github.com/element-plus/element-plus/issues/7287 */
.el-input__suffix:not(.el-select .el-input__suffix) {
    margin-left: -22px;
}

.el-input__inner:not(.el-select .el-input__inner) {
padding-right: 22px;
}


.bg-login-liad {
  background-image: url('/images/liad-login.png');
}


.bg-login-default {
  background-image: url('/images/liad-login.png');
}

.brief-textarea {
    font-size: 16px;
}

/* 模擬使用者資訊容器 */
.impersonation-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 0.8rem;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
    margin: 1rem 0;
}

.impersonation-info.lineitem {
    margin-top: 10rem;
}

.impersonation-info.general {
    margin-top: 5rem;
}

/* 模擬使用者文字樣式 */
.impersonation-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.impersonated-username {
    color: #d63384;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0.2rem 0.6rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(214, 51, 132, 0.2);
}

/* 更新按鈕樣式 */
.btn-impersonate {
    border: 2px solid #ffc107;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #856404;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 0.6rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-impersonate:hover {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    transform: translateY(-1px);
}



.custom-dropzone {
    border: 1px dashed #dcdfe6;
    border-radius: 6px;
    background: #fafafa;
    cursor: pointer;
    transition: all .15s ease;
    padding: 16px 12px;
    font-size: 16px; 
    line-height: 1.4;
    color: #666;
}

.custom-dropzone:hover,
.custom-dropzone.is-dragover {
  border-color: #409eff;
  background: #f7fbff;
}
.dz-inner { text-align: center; }
.dz-icon { font-size: 24px; color: #909399; }
.dz-title { color: #409eff; margin-bottom: 4px; }
.dz-sub { font-size: 12px; color: #909399; }
.dz-file {  font-size: 14px; color: #606266; }
.dz-error { color: #f56c6c; }

.dz-file {
    font-size: 16px; 
    line-height: 1.4;
    color: #666;
}

.dz-preview {
    display: flex;            
    flex-direction: column;    
    align-items: center;       
    justify-content: center; 
    text-align: center;
    border-radius: 6px;
    background: #fafafa;
    transition: all .15s ease;
    padding: 16px 12px;
}

.dz-preview-video{
    width: 80%;
    border-radius: 6px;
}

/* 確保圖片不被撐歪，且可居中 */
.dz-image-preview {
    display: block;             
    max-width: 100%;
    font-size: 16px; 
    line-height: 1.4;
    color: #666;
}

/* 隱藏用的 input */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}



@media (max-width: 1199.98px) {
    .custom-file-upload {
        flex-wrap: wrap;         
    }
}


@media (min-width: 1199.98px) {
    .video-offset{
        margin-left: 120px;         
    }
}


