@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ibmplexsansthai/v10/m8JPje1VVIzcq1HzJq2AEdo2Tj_qvLq8Dg.ttf) format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ibmplexsansthai/v10/m8JMje1VVIzcq1HzJq2AEdo2Tj_qvLqEsvMFbQ.ttf) format('truetype');
}
@media only screen and (min-width: 577px) {
  html {
    display: flex;
    justify-content: center;
  }
}
body {
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 1.25rem;
  background-color: #1a2f4a;
  color: #e6f2ff;
  margin: 0;
  padding: 0;
}
body a {
  color: #e6f2ff;
}
#mainarea {
  background-image: url('../images/bg.jpg');
  background-size: cover;
}
@media only screen and (min-width: 577px) {
  #mainarea {
    max-width: 400px;
  }
}
h1 {
  font-weight: 700;
}
#logo {
  width: 100%;
  max-width: 300px;
}
.snow {
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 50' style='enable-background:new 0 0 50 50%3B' xml:space='preserve'%3E%3Cstyle type='text/css'%3E.st1%7Bopacity:0.3%3Bfill:%23FFFFFF%3B%7D.st3%7Bopacity:0.1%3Bfill:%23FFFFFF%3B%7D%3C/style%3E%3Ccircle class='st1' cx='5' cy='8' r='1'/%3E%3Ccircle class='st1' cx='38' cy='3' r='1'/%3E%3Ccircle class='st1' cx='12' cy='4' r='1'/%3E%3Ccircle class='st1' cx='16' cy='16' r='1'/%3E%3Ccircle class='st1' cx='47' cy='46' r='1'/%3E%3Ccircle class='st1' cx='32' cy='10' r='1'/%3E%3Ccircle class='st1' cx='3' cy='46' r='1'/%3E%3Ccircle class='st1' cx='45' cy='13' r='1'/%3E%3Ccircle class='st1' cx='10' cy='28' r='1'/%3E%3Ccircle class='st1' cx='22' cy='35' r='1'/%3E%3Ccircle class='st1' cx='3' cy='21' r='1'/%3E%3Ccircle class='st1' cx='26' cy='20' r='1'/%3E%3Ccircle class='st1' cx='30' cy='45' r='1'/%3E%3Ccircle class='st1' cx='15' cy='45' r='1'/%3E%3Ccircle class='st1' cx='34' cy='36' r='1'/%3E%3Ccircle class='st1' cx='41' cy='32' r='1'/%3E%3C/svg%3E");
  background-position: 0px 0px;
  animation: animatedBackground 10s linear infinite;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.snow div {
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 50' style='enable-background:new 0 0 50 50%3B' xml:space='preserve'%3E%3Cstyle type='text/css'%3E.st1%7Bopacity:0.7%3Bfill:%23FFFFFF%3B%7D.st3%7Bopacity:0.1%3Bfill:%23FFFFFF%3B%7D%3C/style%3E%3Ccircle class='st3' cx='4' cy='14' r='1'/%3E%3Ccircle class='st3' cx='43' cy='3' r='1'/%3E%3Ccircle class='st3' cx='31' cy='30' r='2'/%3E%3Ccircle class='st3' cx='19' cy='23' r='1'/%3E%3Ccircle class='st3' cx='37' cy='22' r='1'/%3E%3Ccircle class='st3' cx='43' cy='16' r='1'/%3E%3Ccircle class='st3' cx='8' cy='45' r='1'/%3E%3Ccircle class='st3' cx='29' cy='39' r='1'/%3E%3Ccircle class='st3' cx='13' cy='37' r='1'/%3E%3Ccircle class='st3' cx='47' cy='32' r='1'/%3E%3Ccircle class='st3' cx='15' cy='4' r='2'/%3E%3Ccircle class='st3' cx='9' cy='27' r='1'/%3E%3Ccircle class='st3' cx='30' cy='9' r='1'/%3E%3Ccircle class='st3' cx='25' cy='15' r='1'/%3E%3Ccircle class='st3' cx='21' cy='45' r='2'/%3E%3Ccircle class='st3' cx='42' cy='45' r='1'/%3E%3C/svg%3E");
  background-position: 0px 0px;
  animation: animatedBackground 15s linear infinite;
}
@keyframes animatedBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0px 300px;
  }
}
#registerarea {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #1a2f4a;
  background: linear-gradient(135deg, #1a2f4a, #01050B);
  color: #e6f2ff;
  margin: 1rem;
  border-radius: 2rem;
  box-shadow: 0px 5px 10px 0px rgba(26, 47, 74, 0.3);
}
#registerarea h1 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  text-align: center;
}
#registerarea p {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  text-align: center;
}
#registerarea #registrationForm {
  width: 100%;
}
#registerarea #registrationForm button {
  background: #2481f9;
  color: #f0f8ff;
  border: 2px solid #FFF;
  box-sizing: border-box;
  box-shadow: 0px 5px 10px 0px rgba(3, 34, 90, 0.3);
  border-radius: 10px;
  font-size: 1.25rem;
  width: 100%;
}
/* Modal Start */
.modal-dialog {
  max-width: 400px;
}
.camera-icon {
  width: 80px;
  height: 60px;
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  position: relative;
  margin: 0 auto 20px;
}
.camera-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: #20c997;
  border-radius: 50%;
}
.camera-icon::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 12px;
  background: #20c997;
  border-radius: 4px 4px 0 0;
}
.camera-dots {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 12px;
  color: #6c757d;
}
.camera-dots-right {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 12px;
  color: #6c757d;
}
.modal-body {
  text-align: center;
  padding: 2rem 1.5rem;
}
.thai-text {
  line-height: 1.6;
}
.modal-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 1rem;
}
.modal-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}
.btn-ok {
  background: #0d6efd;
  border: none;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  width: 100%;
}
.btn-ok:hover {
  background: #0b5ed7;
}
.modal-header {
  border: none;
  padding: 1rem 1rem 0;
}
.btn-close {
  margin: 0;
}
/* Modal End */
#footerbg img {
  max-width: 100%;
  height: auto;
}
footer {
  padding-top: 1rem;
  color: #FFF;
  font-size: 0.75rem;
  background: #551B73;
}
footer #copyright {
  text-align: center;
  line-height: 1.5;
  padding-bottom: 0.5rem;
}
footer #linkarea {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
}
footer #linkarea > div {
  flex: 1 0 0;
}
footer #linkarea #footerlink {
  margin-bottom: 0.5rem;
}
footer #linkarea #footerlink a {
  color: #FFF;
}
footer #linkarea #logomdz {
  text-align: center;
  margin-bottom: 1rem;
}
footer #linkarea #logomdz img {
  max-width: 30%;
  height: auto;
}
.btn-submit {
  background: #2481f9;
  color: #f0f8ff;
  border: 2px solid #FFF;
  box-sizing: border-box;
  box-shadow: 0px 5px 10px 0px rgba(3, 34, 90, 0.3);
  border-radius: 10px;
  font-size: 1.25rem;
}
