/* ===============================
   Basic CSS Template by ChatGPT
   =============================== */

/* รีเซ็ตเบื้องต้น */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ฟอนต์และพื้นหลัง */
body {
  font-family: 'Mitr', sans-serif;
  font-size: 16px;
  color: #fff;
  background-color: #000000;
  line-height: 1.6;
  padding: 20px;
}

/* หัวเรื่อง */
h1, h2, h3 {
  font-weight: 400; 
}
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

/* ลิงก์ */
a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ปุ่ม */
button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background-color: #0056b3;
}

/* กล่องทั่วไป */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

/* ฟอร์ม */
input, textarea, select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 12px;
}

/* ตาราง */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
table, th, td {
  border: 1px solid #ddd;
}
th, td {
  padding: 10px;
  text-align: left;
}

/*================= 
   Utilities
=================*/
/*Colors*/
.color-gray{color: #766F6F;}

/*Text*/
.text-center{text-align: center !important;}

/*Spacing*/
.mt-30{margin-top: 30px!important;}

.mb-10{margin-bottom: 10px!important;}

/*size*/
.size22{font-size: 22px!important;}
.size30{font-size: 30px!important;}

/*borders*/
.rounded-pill {
    border-radius: 50rem !important;
}

/*size*/
.min-h-fullscreen{height: 100vh;}

/*flex*/
.d-flex{display: flex;}

.align-items-center{align-items: center !important;}

/*================= 
 Components
=================*/
.btn{
  font-family: 'Mitr', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  padding: 10px 16px;
}
.btn-lg{
  font-size: 18px;
}
.btn img{
 vertical-align: text-top;
}
.btn.rounded-pill{
  padding-left: 40px;
  padding-right: 40px;
}

/*buttons*/
.btn-dark {
    color: #fff;
    background-color: rgba(82, 82, 82, 0.4);
    border-color: rgba(82, 82, 82, 0.4);
}

.btn-dark:hover,
.btn-dark:focus {
  background-color: rgba(82, 82, 82, 0.7);
  border-color: rgba(82, 82, 82, 0.7);
  color: #fff;
  outline: none;
}

.btn-dark:active {
  background-color: rgba(82, 82, 82, 1);
  border-color: rgba(82, 82, 82, 1);
  color: #fff;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}