/***************************************************************************
*  @PHP Web Application.
*  @version			1.0.0 
*  @copyright		Copyright (C) 2011 Tran Thanh Sang. All rights reserved.
*  @Released under 	Tran Thanh Sang
*  @Email			sangtialia@gmail.com
*  @Date			Jan 2011
***************************************************************************/

/* ------------------ LIST --------------------- */
ul.b-articles {
	list-style: none;
	margin: 10px 0;
	padding: 0;
}

ul.b-articles li {
	border-bottom: 1px dotted #CCC;
	padding: 5px 5px 5px 15px;
	background: url(../images/arrow.png) no-repeat 0px 10px;
}

ul.b-articles li a {
	color: #3f3f3f;
}

#support-online {
	position: fixed;
	bottom: 70px;
	right: 15px;
}

#support-online .it {
	display: block;
}

#support-online .it img {
	max-width: 50px;
	margin-bottom: 20px;
}

/* CSS Document */
div#message {
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 5px;
}

div#message ul {
	padding: 10px 5px 10px 50px;
	margin: 0;
	list-style: none;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
	background-size: 30px 30px;
	background-position: 10px 5px;
	background-repeat: no-repeat;
}

div#message ul li {
	margin: 0;
	padding: 0;
	vertical-align: middle;
}

div#message .message {
	background-image: url(../image/info.png);
	background-color: #defcbe;
	color: #3f8221;
	border-color: #4aad0e;
}

div#message .error {
	background-image: url(../image/error.png);
	background-color: #FFCACA;
	color: #FF0000;
	border-color: #FF0000;
}

div#message .warning {
	background-image: url(../image/warning.png);
	background-color: #ffd491;
	color: #ee6125;
	border-color: #ee6125;
}

/* pagination */
div.pagination {
	clear: both;
	text-align: center;
	margin: 5px 0 5px 0;
}

div.pagination a,
div.pagination span {
	border: 1px solid #ccc;
	padding: 3px 8px;
	text-decoration: none;
	display: inline-block;
	margin: 5px 4px;
}

div.pagination span {
	color: #666666;
}

div.pagination a.ppage:hover {
	background: #eee
}

div.pagination .active {
	font-weight: bold;
	background: #eee;
	color: #000033;
}

/* adminForm */
table.adminForm {
	width: auto;
}

table.adminForm tr td {
	padding: 3px;
	margin: 0;
	vertical-align: top;
}

table.adminForm tr td.label {
	text-align: right;
	padding-right: 10px;
	background: #f3f6fc;
	border-bottom: 1px solid #CCDAF9;
	border-right: 1px solid #CCDAF9;
	border-left: 1px solid #f3f6fc;
	border-top: 1px solid #ffffff;
	min-width: 120px;
}

table.adminForm tr.spacer td {
	vertical-align: middle;
}

table.adminForm tr.spacer td hr {
	border: 0;
	border-top: 1px dotted #9EA7F8;
}

/* site form */
table.siteForm {
	width: auto;
}

table.siteForm tr td {
	padding: 3px;
	margin: 0;
	vertical-align: top;
}

table.siteForm tr td.label {
	text-align: right;
	padding-right: 10px;
}

/* Tooltips */
.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
	z-index: 50;
}

.tool-title {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../images/system/selector-arrow.png) no-repeat;
}

.tool-text {
	font-size: 100%;
	margin: 0;
}

.imglink {
	border: 0;
}

.imglink:hover {
	opacity: 0.80;
	moz-opacity: 0.80;
	filter: alpha(opacity=80);
}

.st-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, .4);
}

.st-modal-content {
	background: #fff url(images/bg.jpg) no-repeat;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 900px;
}

.close-btn-m {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close-btn-m:hover,
.close-btn-m:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.headers {
	padding: 24px;
	border-bottom: 1px solid #e9ecef;
}

.headers h1 {
	font-size: 24px;
	font-weight: 600;
	color: #2d3748;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}


.content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}

.input-section {
	background-color: #f0f9f0;
}

.input-section {
	padding:0 20px;
	padding-left: 0;
}

.result-section {
	padding: 32px;
	background-color: white;
	border-left: 1px solid #e9ecef;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: #4a5568;
	font-size: 14px;
}

.input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.form-control {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.2s;
	background: white;
}

.form-control:focus {
	outline: none;
	border-color: #4299e1;
	box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.input-suffix {
	position: absolute;
	right: 16px;
	color: #718096;
	font-size: 14px;
	pointer-events: none;
}

.result-section h2 {
	font-size: 20px;
	font-weight: 600;
	color: #2d3748;
	margin-bottom: 24px;
}

.result-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #f7fafc;
}

.result-item:last-child {
	border-bottom: none;
	font-weight: 600;
	font-size: 18px;
	color: #2d3748;
	padding-top: 16px;
	margin-top: 8px;
	border-top: 2px solid #e2e8f0;
}

.result-label {
	color: #4a5568;
	font-size: 14px;
}

.result-value {
	font-weight: 500;
	color: #2d3748;
}

.note {
	margin-top: 16px;
	padding: 12px;
	background-color: #f7fafc;
	border-radius: 6px;
	font-size: 12px;
	color: #718096;
}

.schedule-btn {
	width: 100%;
	margin-top: 16px;
	padding: 12px;
	background-color: #e2e8f0;
	border: none;
	border-radius: 8px;
	color: #4a5568;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.schedule-btn:hover {
	background-color: #cbd5e0;
}

.highlight {
	background-color: #e6fffa;
	border-left: 4px solid #38b2ac;
	padding-left: 12px;
}

@media (max-width: 768px) {
	.content {
		grid-template-columns: 1fr;
	}

	.result-section {
		border-left: none;
		border-top: 1px solid #e9ecef;
	}

	.container {
		margin: 10px;
	}
}

.currency {
	font-weight: 600;
	color: #38a169;
}