﻿body{
    font-family: "Bai Jamjuree", sans-serif;
    font-weight: 500;
    font-style: normal;
}
input[type=text] {
  padding: 1px 1px;
  margin: 1px 0;
  box-sizing: border-box;
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 500;
}


input[type=textarea] {
  padding: 12px 10px;
  margin: 4px 0;
  box-sizing: border-box;
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 500;
}


.button {
  display: inline-block;
  padding: 15px 25px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #04AA6D;
  border: none;
  border-radius: 15px;
  box-shadow: 0 2px #999;
  font-family: "Bai Jamjuree", sans-serif;

}
.button:hover {background-color: #3e8e41}

.button:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}


/* CSS สำหรับหน้าจอ Login */



.login-container {
    background-color: #ffffff;
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-heading {
    text-align: center;
    margin-bottom: 20px;
}

.login-heading h2 {
    color: #333333;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form input[type="submit"] {
    width: 100%;
    background-color: #333;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: "Bai Jamjuree", sans-serif;

}

.login-form input[type="submit"]:hover {
    background-color: #C00003;
}

.login-form .message {
    text-align: center;
    margin-top: 20px;
}

.login-form .message a {
    color: #4CAF50;
}

.login-form .message a:hover {
    text-decoration: underline;
}



/* CSS สำหรับหน้าจอแสดงโปรไฟล์ */

.profile-card {
    width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.profile-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.profile-info h1 {
    margin-bottom: 10px;
    color: #333;
}

.profile-info p {
    margin-bottom: 5px;
    color: #666;
}

.profile-info a {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.profile-info a:hover {
    background-color: #45a049;
}




/* CSS สำหรับหน้าแก้ไขโปรไฟล์ */

.edit-profile-form {
    width: 700px;
    margin: 50px auto;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.edit-profile-form h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
   margin-bottom: 1px;
   color: #666;
	
}

input[type="text"],
input[type="email"],
input[type="tel"],

textarea {
    
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: "Bai Jamjuree", sans-serif;  
}

/*button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
*/

button[type="submit"]:hover {
    background-color: #45a049;
}





/* CSS สำหรับหน้าจอแสดง Add */

.Add-card {
    width: 1000px;
    margin: 50px auto;
    padding: 2px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.Add-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.Add-info h1 {
    margin-bottom: 10px;
    color: #333;
}

.Add-info p {
    margin-bottom: 5px;
    color: #666;
}

.Add-info a {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.Add-info a:hover {
    background-color: #45a049;
}

/* CSS ปุ่ม */
.button{
    display: inline-block;
    padding: 10px 20px;
    font-size: 12px;
	font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color:aliceblue;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px #999;
    font-family: "Bai Jamjuree", sans-serif;  
    transition: background-color 0.3s;
}
.button:hover {background-color: #3e8e41
}
.button:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
.button.seeall {
  background-color: #04AA6D;
}
.button.Nosee { 
  background-color:cadetblue;
}
.button.Del { 
  background-color:brown;
}
.button.PrintLabel { 
  background-color:darkcyan;
}
.button.ExpXls { 
  background-color:darkcyan;
font-size: 14px;
}
.button.Big {
    font-size: 20px;    
    background-color:darkcyan;
}
.button.Reset {
    padding: 5px 10px;
    color:#363636;
    font-size: 10px;    
    background-color:whitesmoke;
}
.HilNumber{
    padding: 5px 10px;
    color:aliceblue;
    /*font-size: 10px;    */
    background-color:#373737;
    border-radius: 4px;

    
}

.Logout{
    padding: 5px 10px;
    color:aliceblue;
    background-color:#373737;
    border-radius: 4px;
	text-decoration: none;
    
}





/* เมนู */
.HDbar {
	/*background-color: #333;*/
            /*color: #fff;*/
    padding-top: 0px;        
	padding-bottom: 1px;
            text-align: center;
            /*position: fixed;*/
            left: 0;           
            width: 100%;
}

.SoftT{
    font-size: 12px;
	color: darkgray;
	
}




.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 700px;
    position: relative;
}

#closePopup {
    position: absolute;
    top: 0px;
    right: 5px;
    font-size: 36px;  /* ปรับขนาดฟอนต์ให้ใหญ่ขึ้น */
    cursor: pointer;
    padding: 0px;  /* เพิ่ม padding ให้คลิกง่ายขึ้น */
    background-color: transparent;  /* พื้นหลังโปร่งใส */
    border: none;  /* ไม่มีขอบ */
}



video {
    width: 100%;
    border-radius: 10px;
}

.video-button {
    background-color: #28a745; /* สีพื้นหลังปุ่ม */
    color: white; /* สีตัวอักษร */
    padding: 10px 20px; /* ระยะห่างภายในปุ่ม */
    font-size: 18px; /* ขนาดตัวอักษร */
    border: none; /* ไม่มีขอบ */
    border-radius: 5px; /* มุมโค้งของปุ่ม */
    cursor: pointer; /* เปลี่ยนรูปเมาส์เมื่อ hover */
    transition: background-color 0.3s ease; /* ทำให้ปุ่มเปลี่ยนสีแบบนุ่มนวล */
}

.video-button:hover {
    background-color: #218838; /* สีพื้นหลังเมื่อ hover */
}





footer {
            background-color: #333;
            color: #fff;
            font-size: 12px;
            padding: 5px;
            text-align: center;
            position: fixed;
            left: 0;
            bottom: 0;
            width: 100%;
    
a:link {
    color: #fff; /* สีของลิงก์ที่ยังไม่ได้คลิก */
}

a:visited {
    color: #fff; /* สีของลิงก์ที่ถูกคลิกแล้ว */
}

a:hover {
    color: #fff; /* สีของลิงก์เมื่อวางเมาส์ */
}

a:active {
    color: #fff; /* สีของลิงก์เมื่อถูกกด */
}
        }

