/* @extend display-flex; */
display-flex {
display: flex;
display: -webkit-flex; }

/* @extend list-type-ulli; */
list-type-ulli {
list-style-type: none;
margin: 0;
padding: 0; }

a:focus, a:active {
text-decoration: none;
outline: none;
transition: all 300ms ease 0s;
-moz-transition: all 300ms ease 0s;
-webkit-transition: all 300ms ease 0s;
-o-transition: all 300ms ease 0s;
-ms-transition: all 300ms ease 0s; }

input, select, textarea {
outline: none;
appearance: unset !important;
-moz-appearance: unset !important;
-webkit-appearance: unset !important;
-o-appearance: unset !important;
-ms-appearance: unset !important; }

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
appearance: none !important;
-moz-appearance: none !important;
-webkit-appearance: none !important;
-o-appearance: none !important;
-ms-appearance: none !important;
margin: 0; }

input:focus, select:focus, textarea:focus {
outline: none;
box-shadow: none !important;
-moz-box-shadow: none !important;
-webkit-box-shadow: none !important;
-o-box-shadow: none !important;
-ms-box-shadow: none !important; }

input[type=checkbox] {
appearance: checkbox !important;
-moz-appearance: checkbox !important;
-webkit-appearance: checkbox !important;
-o-appearance: checkbox !important;
-ms-appearance: checkbox !important; }

input[type=radio] {
appearance: radio !important;
-moz-appearance: radio !important;
-webkit-appearance: radio !important;
-o-appearance: radio !important;
-ms-appearance: radio !important; }

input:-webkit-autofill {
box-shadow: 0 0 0 30px transparent inset;
-moz-box-shadow: 0 0 0 30px transparent inset;
-webkit-box-shadow: 0 0 0 30px transparent inset;
-o-box-shadow: 0 0 0 30px transparent inset;
-ms-box-shadow: 0 0 0 30px transparent inset;
background-color: transparent !important; }

input {
border: none;
box-sizing: border-box;
border-bottom: 1px solid  rgba(142, 145, 145, 1);
background: transparent;
width: 100%;
display: block;
color: rgb(78 78 78);
font-weight: regular;
font-family: 'prompt';
font-size: 14px;
padding: 3px 0; }
input::-webkit-input-placeholder {
font-weight: 400;
color:  rgba(142, 145, 145, 1);
}
input::-moz-placeholder {
font-weight: 400;
color:  rgba(142, 145, 145, 1);
}
input:-ms-input-placeholder {
font-weight: 400;
color:  rgba(142, 145, 145, 1);
}
input:-moz-placeholder {
font-weight: 400;
color:  rgba(142, 145, 145, 1);
}
input:focus {
font-weight: regular; }

input[type=checkbox]:not(old) {
width: 2em;
margin: 0;
padding: 0;
font-size: 1em;
display: none; }

input[type=checkbox]:not(old) + label {
display: inline-block;
margin-bottom: 25px; }

input[type=checkbox]:not(old) + label > span {
display: inline-block;
width: 13px;
height: 13px;
margin-right: 15px;
margin-bottom: 4px;
border: 1px solid  rgba(142, 145, 145, 1);
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-o-border-radius: 2px;
-ms-border-radius: 2px;
background: transparent;
vertical-align: bottom; }

input[type=checkbox]:not(old):checked + label > span {
background: transparent; }

input[type=checkbox]:not(old):checked + label > span:before {
content: '\f26b';
display: block;
color:  rgba(142, 145, 145, 1);
font-size: 11px;
line-height: 1.2;
text-align: center;
font-family: 'Material-Design-Iconic-Font';
font-weight: regular; }

img {
max-width: 100%;
height: auto; }

figure {
margin: 0; }

p {
margin-bottom: 32px;
margin-top: 0px;
font-weight: 400; }
p span {
font-weight: regular; }

h2 {
line-height: 1.2;
margin: 0;
padding: 0;
font-weight: bold;
color: #000000a8;
font-family: 'prompt';
font-size: 36px;
margin-bottom: 10px; }

h4 {
line-height: 0.2;
margin: 0px;
padding: 0px;
font-weight: bold;
color: #000000a8;
font-family: 'prompt';
font-size: 20px;
margin-bottom: 40px;
}

.clear {
clear: both; }

body {
font-size: 14px;
line-height: 1.8;
color: rgba(95, 95, 95);
font-weight: 600;
font-family: 'prompt';
margin: 0px;
position: relative;
z-index: 1;
min-height: 100vh; /* ทำให้ body มีความสูงอย่างน้อย 100% ของ viewport */
}

body::before {
content: "";
position: fixed; /* แก้ให้ภาพครอบคลุมเต็มจอ */
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url("../image/bg-alumni.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
filter: blur(0px); /* เพิ่มความเบลอ */
z-index: -1;
height: 100vh; /* ให้ครอบคลุมทั้งความสูง */
}

body,
input,
button,
h2,
p,
select,
option {
font-family: 'Prompt', sans-serif;
}

#prev1, #prev2 {
background-color: #808080; /* สีเทา */
}

#prev1:hover, #prev2:hover {
background-color: #a9a9a9; /* สีเทาอ่อนลงเมื่อ hover */
}

.container {
max-width: 567px;
margin: 0px auto;
padding: 20px;
position: relative;
}

.signup-content {
width: 562px;
margin-right: 0px;
background: rgb(211 231 231 / 81%);
float: right;
border-radius: 20px; /* ปรับมุมให้โค้งมน */ }

.signup-form {
padding: 34px 50px 30px 50px
}

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

.form-group2 {
margin-bottom: 10px; }

.field-icon {
float: right;
margin-right: 0px;
margin-top: -22px;
position: relative;
z-index: 2;
color:  rgba(142, 145, 145, 1);
}

.label-agree-term {
font-size: 14px;
font-weight: 400;
color: #000000d6;
}

.label-profile {
font-size: 17px;
font-weight: bold;
color: #000000a8;
display: block;
margin-bottom: 10px;
}

.label-graduate {
font-size: 17px;
font-weight: bold;
color: #000000a8;
display: block;
margin-bottom: 0px;
}

.label-slip {
font-size: 20px;
font-weight: bold;
color: #000000a8;
display: block;
margin-top: 40px;
}

.label-student_id {
font-size: 14px;
font-weight: bold;
color: #333333ad;
display: block;
margin-bottom: 2px;
}

.term-service {
color: rgba(95, 95, 95);
}

.form-signin {
width: auto;
display: inline-block;
border: none;
background: #528eff;
color: #ffffff;
padding: 10px;
height: 50px;
box-shadow: 0px 15px 9.9px 0.1px rgba(0, 0, 0, 0.15);
margin-right: 25px;
transition: transform 0.2s;
/* เพิ่มการเปลี่ยนแปลงขนาด */
}

.form-signin:hover {
background-color: #e6870b;
transform: scale(1.1);
/* ขยายขนาดปุ่มเมื่อ hover */
}

.form-submit {
width: auto;
display: inline-block;
border: none;
background: #52a50d;
color: #ffffff;
padding: 10px;
height: 50px;
box-shadow: 0px 15px 9.9px 0.1px rgba(0, 0, 0, 0.15);
margin-right: 25px;
transition: transform 0.2s; /* เพิ่มการเปลี่ยนแปลงขนาด */
}

.form-submit:hover {
background-color: #e6870b;
transform: scale(1.1); /* ขยายขนาดปุ่มเมื่อ hover */
}

.submit {
width: 130px;
border-radius: 25px;
-moz-border-radius: 25px;
-webkit-border-radius: 25px;
-o-border-radius: 25px;
-ms-border-radius: 25px;
text-transform: uppercase;
font-size: 13px;
cursor: pointer; }

.submit-link {
border: 2px solid #fff;
text-decoration: none;
display: inline-block;
vertical-align: middle;
padding: 12px 0;
text-align: center;
color: #fff; }
.submit-link:hover {
background: #fff;
color: #b18757; }

/* Style for the dropdown */
.styled-select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: #f9f9f9;
border: 1px solid #ccc;
border-radius: 5px;
padding: 5px 8px;
width: 100%;
font-size: 14px;
color: rgb(52 52 52);  
outline: none;
cursor: pointer;
transition: border-color 0.3s ease;
margin-bottom: 15px;
}

/* Style the dropdown options */
.styled-select option {
color: rgb(78 78 78);
}

/* Change border color on focus */
.styled-select:focus {
border-color: #5b9bd5;
}

.form-input::placeholder {
color: #696666; /* เปลี่ยนสี placeholder เป็นสีส้ม */
}

.swal2-close {
border: none !important;
background: none !important;
color: #aaa !important;
font-size: 24px !important;
padding: 0 !important;
line-height: 1 !important;
outline: none !important; /* เพิ่มบรรทัดนี้ */
}

.swal2-close:hover {
color: #333 !important;
}

/* สไตล์ปุ่ม "ดูตัวอย่างเสื้อ" */
#show-shirt-sample {
background-color: #007bff;
color: white;
border: none;
padding: 8px 16px;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* เพิ่มเงา */
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* เพิ่ม transition */
}

#show-shirt-sample:hover {
background-color: #0056b3;
transform: translateY(-2px); /* เลื่อนขึ้นเล็กน้อยเมื่อ hover */
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* เพิ่มเงาเมื่อ hover */
}

#show-shirt-sample:active {
transform: translateY(1px); /* เลื่อนลงเล็กน้อยเมื่อกด */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* ลดเงาเมื่อกด */
}

/* ซ่อน input address เริ่มต้น */
#address-input {
display: none;
}

/* ปรับขนาด textarea ให้พอดีกับหน้าจอ */
#address {
width: 100%;
box-sizing: border-box; /* ทำให้ padding และ border รวมอยู่ใน width */
height: 20vh; /* กำหนดความสูงเป็น 20% ของ viewport height */
}

#total-amount-label {
font-size: 18px; /* ปรับขนาดตัวอักษรให้เหมาะสม */
font-weight: 600; /* ใช้ตัวหนาที่ดูสุภาพ */
color: #333; /* เปลี่ยนสีตัวอักษรเป็นสีเทาเข้ม */
background-color: #f3f7cb; /* เปลี่ยนสีพื้นหลังเป็นสีเทาอ่อน */
padding: 8px 12px; /* ปรับขนาด padding */
border-radius: 4px; /* ปรับขนาด border-radius */
display: block; /* ทำให้แสดงผลเป็น inline-block */
margin-top: 10px; /* เพิ่ม margin ด้านบน */
border: 1px solid #ccc; /* เพิ่มเส้นขอบ */
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* เพิ่มเงาเล็กน้อย */
text-align: center;
}

.swal2-popup {
border-radius: 20px;
}

.g-recaptcha {
transform: scale(0.92);
transform-origin: 0 0;
}

.spinner-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}

.spinner-container {
display: flex;
flex-direction: column;
align-items: center;
}

.spinner {
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 2s linear infinite;
}

.spinner-text {
color: white;
margin-top: 20px;
text-align: center;
}

@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

.page {
transition: opacity 0.5s ease-in-out;
}

.fade-in {
opacity: 1;
}

.fade-out {
opacity: 0;
}


/*######################################################### */
/*######################################################### */
/*######################################################### */



@media screen and (max-width: 1024px) {
.container {
font-family: 'prompt', sans-serif;
width: calc(100% - 30px);
max-width: 50%;
margin: 0 auto;
}

.signup-content {
width: 100%;
}
}

@media screen and (max-width: 768px) {
.container {
font-family: 'prompt', sans-serif;
width: calc(100% - 30px);
max-width: 70%;
margin: 0 auto;
}

.signup-content {
width: 100%;
}
}

@media screen and (max-width: 430px) {
.container {
font-family: 'prompt', sans-serif;
width: calc(100% - 25px);
max-width: 100%;
margin: 10 auto;
padding: 0px;
top: 15px;
}

.submit {
width: 100%;
}

.form-signin {
margin-bottom: 20px;
margin-right: 0px;
}

.form-submit {
margin-bottom: 20px;
margin-right: 0px;
}

.signup-form {
padding: 30px 30px 30px 30px;
}

.signin-form {
padding: 30px 30px 30px 30px;
}


.swal2-popup {
border-radius: 15px;
/* ปรับมุมให้โค้งมน */
font-family: 'prompt', sans-serif;
}

h2 {
font-size: 30px;
}

.h2-preorder {
font-size: 22px;
}

h4 {
font-size: 16px;
}
}
