.lockhome-container {
  width: 300px;
  margin: 100px auto;
  padding: 25px;
  background: #1e3a5f url('https://www.transparenttextures.com/patterns/stardust.png');
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.7);
  color: #fff;
  font-family: Arial, sans-serif;
}

.lockhome-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
}

.lockhome-form label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}

.lockhome-form input[type="text"],
.lockhome-form input[type="password"] {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: none;
  border-radius: 4px;
}

.lockhome-remember {
  margin-top: 10px;
  font-size: 13px;
}

.lockhome-btn {
  margin-top: 15px;
  width: 100%;
  background: #0077cc;
  color: #fff;
  border: none;
  padding: 10px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

.lockhome-btn:hover {
  background: #005fa3;
}

.lockhome-forgot {
  display: block;
  margin-top: 15px;
  text-align: center;
  color: #ccc;
  font-size: 12px;
}

.lockhome-logout {
  text-align: center;
  margin: 20px 0;
}

.lockhome-btn-logout {
  background: #e74c3c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.lockhome-btn-logout:hover {
  background: #c0392b;
}

/* พื้นหลัง modal */
.lockhome-modal {
  display: none; /* เริ่มต้นปิด */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

/* กล่องเนื้อหา modal */
.lockhome-modal-content {
  background: #1e3a5f;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.7);
  position: relative;
  animation: popup 0.3s ease-out;
}

/* ปุ่มปิด (X) */
.lockhome-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* เอฟเฟกต์ popup */
@keyframes popup {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}
