/* thai-datepicker.css v1.0 — คู่กับ thai-datepicker.js */
.tdp { position: relative; display: inline-block; vertical-align: middle; }
/* ให้ช่อง + ปุ่มติดกันทุกที่ (นอก .form-inline Bootstrap ยืด input-group เต็มความกว้างเพราะ .input-group-btn width 1%) */
.tdp .input-group { display: inline-table; vertical-align: middle; }
.tdp .input-group .input-group-btn { width: auto; }
.tdp .tdp-text { width: 120px; }
.tdp.tdp-has-time .tdp-text { width: 160px; }
.tdp .tdp-text[readonly] { background: #fff; cursor: pointer; }
.tdp-pop { position: absolute; top: 100%; left: 0; z-index: 1060; margin-top: 2px;
           width: 266px; padding: 8px; background: #fff; border: 1px solid #ccc;
           border-radius: 4px; box-shadow: 0 6px 12px rgba(0,0,0,.175); }
.tdp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tdp-head select,
.tdp-time select { height: 26px; padding: 2px 4px; border: 1px solid #ccc; border-radius: 3px; background: #fff; }
.tdp-head .tdp-month { width: 98px; }
.tdp-head .tdp-year { width: 64px; }
.tdp-grid { width: 100%; table-layout: fixed; }
.tdp-grid th { text-align: center; font-size: 12px; color: #777; font-weight: normal; padding: 2px 0; }
.tdp-grid td { padding: 1px; text-align: center; }
.tdp-day { width: 100%; height: 30px; border: 0; border-radius: 3px; background: transparent; font-size: 13px; }
.tdp-day:hover, .tdp-day:focus { background: #eee; outline: none; }
.tdp-day.tdp-other { color: #bbb; }
.tdp-day.tdp-today { font-weight: bold; color: #337ab7; box-shadow: inset 0 0 0 1px #337ab7; }
.tdp-day.tdp-sel, .tdp-day.tdp-sel:hover { background: #337ab7; color: #fff; }
.tdp-time { margin-top: 6px; padding-top: 6px; border-top: 1px solid #eee; font-size: 13px; }
.tdp-time .tdp-hint { color: #999; font-size: 12px; }
.tdp-foot { margin-top: 6px; text-align: right; }
.tdp-foot .tdp-clear { float: left; color: #a94442; padding-left: 0; }
