﻿/* underline cho textfield */
.ul-textfield .x-form-text {
                border: none !important;
                background: transparent !important;
                background-image: url('https://demo.hosoyte.com/v2/bg-line-input.dfbf55403227ccc2dc3b.png') !important;
                background-repeat: repeat-x !important;
                background-position: bottom !important;
                padding-bottom: 0px; /* Điều chỉnh khoảng cách giữa text và gạch chân */
            }
.ul-textfield .x-form-text:focus {
	border: none !important;
	box-shadow: none !important;
}

/* Bỏ border của container nếu có */
.ul-textfield .x-form-text-wrap {
	border: none !important;
	background: transparent !important;
}

/* Xử lý trigger nếu có */
.ul-textfield .x-form-trigger-wrap {
	border: none !important;
}
/*  */
/* Style chung cho grid */
.word-table-grid {
    border: 1px solid #000000 !important;
    background-color: #ffffff;
}

/* Style cho header */
.word-table-grid .x-column-header {
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    background-color: #f2f2f2; /* Màu nền xám nhạt giống Word */
    padding: 5px;
    font-weight: bold;
    color: #000000;
}

.word-table-grid .x-column-header-over {
    background-color: #e6e6e6 !important; /* Hiệu ứng hover */
}

/* Style cho cells */
.word-table-grid .x-grid-cell {
    border-bottom: 1px solid #000000;
    border-right: 1px solid #000000;
    padding: 5px;
    background-color: #ffffff;
}

.word-table-grid .x-grid-row-selected .x-grid-cell {
    background-color: #d6e6ff !important; /* Màu khi select */
}

/* Ẩn các icon sort */
.word-table-grid .x-column-header-sort-ASC,
.word-table-grid .x-column-header-sort-DESC {
    background-image: none !important;
}

/* Style cho editor */
.word-table-grid .x-grid-editor {
    border: 1px solid #000000;
    padding: 0;
}

.word-table-grid .x-grid-editor .x-form-text {
    border: none;
    padding: 5px;
    height: 100%;
}

.word-table-grid .x-column-header {
    background-color: #e7e6e6; /* Màu xám Word */
    border-color: #a5a5a5;     /* Border xám đậm */
    color: #000000;
    /*font-family: Calibri, Arial, sans-serif; */
}

.word-table-grid .x-grid-cell {
    border-color: #a5a5a5;
    /* font-family: Calibri, Arial, sans-serif; */
}

/* Áp dụng font ExtJS cho toàn bộ vùng Gantt */
.e-gantt,
.e-treegrid,
.e-grid,
.e-gantt-chart,
.e-headercell,
.e-rowcell,
.e-columnheader,
.e-headertext,
.e-headercontent,
.e-gridheader,
.e-grid .e-headercell,
.e-gantt .e-headercell,
.e-gantt .e-columnheader {
    font-family: Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
}
/* css for chat */
.msg-grid .x-grid-cell {
	background-color: white;
}

.msg-grid .x-grid-row-over .x-grid-cell {
	background-color: white;
}

.msg-grid .x-grid-row-selected .x-grid-cell {
	background-color: white;
}

.msg-grid .x-grid-item-focused .x-grid-cell-inner:before {
	border: none !important;
}

.msg-grid .x-grid-cell-inner {
	padding: 2px 10px 2px 10px;
}

.msg-input {
	color: #d4d4d4;
}

.msg {
	width: 100%;
	display: flex;
	margin-top: 7px;
}

.msg0 {
	width: 100%;
	display: flex;
}

.msg-mytext {
	border: 0;
	padding: 10px;
}

.msg-text {
	border: 0;
	padding: 10px;
}


.msg-text-l {
	flex: 100%;
	padding-right: 10px;
}

.msg-text-r {
	flex: 100%;
	padding-left: 10px;
}

.msg-user {
	display: inline-block;
	text-align: center;
	margin-right: 10px;
	color: #2196F3;
}

.msg-user-avatar {
	width: 50px;
	height: 50px;
	background-color: #e5efff;
	font-size: 19px;
	display: inline-block;
	text-align: center;
	align-content: center;
	border-radius: 50%;
}

.msg-user-r {
	display: inline-block;
	text-align: center;
	margin-left: 10px;
	color: #607d8b;
}

.msg-user-avatar-r {
	width: 50px;
	height: 50px;
	background-color: #f5f5f5;
	font-size: 19px;
	display: inline-block;
	text-align: center;
	align-content: center;
	border-radius: 50%;
}

.macro {
	margin-top: 5px;
	flex: 100%;
	border-radius: 5px;
	padding: 5px;
	display: flex;
}

.msj-rta {
	float: right;
	margin-left: 50px;
	background: whitesmoke;
	box-shadow: -1px 1px lightgrey;
}

.msj-rta0 {
	float: right;
	margin-left: 50px;
	margin-right: 50px;
	background: whitesmoke;
	box-shadow: -1px 1px lightgrey;
}

.msj {
	float: left;
	margin-right: 50px;
	background: #e5efff;
	box-shadow: 1px 1px #a0abbd;
}

.msj0 {
	float: left;
	margin-left: 50px;
	margin-right: 50px;
	background: #e5efff;
	box-shadow: 1px 1px #a0abbd;
}

.msj:before {
	width: 0;
	height: 0;
	content: "";
	top: -5px;
	left: -14px;
	position: relative;
	border-style: solid;
	border-width: 0 13px 13px 0;
	border-color: transparent #e5efff transparent transparent;
}

.msj-rta:after {
	width: 0;
	height: 0;
	content: "";
	top: -5px;
	left: 14px;
	position: relative;
	border-style: solid;
	border-width: 13px 13px 0 0;
	border-color: whitesmoke transparent transparent transparent;
}

.img-circle {
	border-radius: 50%;
}

.frame {
	background: #e0e0de;
	height: 450px;
	overflow: hidden;
	padding: 0;
}

	.frame > div:last-of-type {
		position: absolute;
		bottom: 0;
		width: 100%;
		display: flex;
	}

.msg-text > p:first-of-type {
	width: 100%;
	margin-top: 0;
	margin-bottom: auto;
	line-height: 13px;
	font-size: 13px;
}

.msg-text > p:last-of-type {
	width: 100%;
	text-align: right;
	color: silver;
	margin-bottom: -7px;
	margin-top: auto;
}
.ioc-card {
    background: #fff;
    border-radius: 10px;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.12),
        0 6px 14px rgba(0,0,0,0.10);
}
.ioc-card:hover {
    box-shadow:
        0 4px 6px rgba(0,0,0,0.15),
        0 10px 24px rgba(0,0,0,0.18);
}
.kpi-item {
  flex: 1 1 180px;
  min-width: 180px;
  box-sizing: border-box;
}