@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');
:root {
  --primary-gradient: linear-gradient(135deg, #021B3E 0%, #004e92 50%, #0072ff 100%);
  --bg-body: #f4f6f9;
  --card-bg: #ffffff;
  --text-main: #2c3e50;
  --primary-color: #053170;
  --accent-color: #0072ff;
  --shadow-card: 0 15px 40px rgba(0, 30, 60, 0.08);
}
body {
  font-family: 'Kanit', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
.top-bar {
  background-color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid #edf2f7;
}
.top-bar img {
  height: 65px;
  width: auto;
  transition: all 0.3s;
}
.banner-section {
  position: relative;
  background: var(--primary-color);
  background-image:
    linear-gradient(135deg, rgba(2, 27, 62, 0.95) 0%, rgba(5, 74, 145, 0.9) 100%), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 15px);
  background-size: cover;
  padding: 70px 0 140px 0;
  text-align: center;
  color: white;
  z-index: 1;
  overflow: hidden;
}
.banner-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--bg-body), transparent);
  opacity: 0.8;
}
.banner-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}
.banner-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
  position: relative;
  z-index: 2;
}
.main-content {
  margin-top: -100px;
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
}
.premium-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 45px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
}
.card-header-custom {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eaeff4;
  position: relative;
}
.card-header-custom h4 {
  margin: 0;
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-header-custom::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary-color);
}
.card-header-custom.warning h4 {
  color: #dc3545;
}
.card-header-custom.warning::after {
  background: #dc3545;
}
.card-header-custom.warning {
  border-bottom-color: #ffe3e6;
}
.advice-box {
  background-color: #fff9fa;
  border-left: 4px solid #dc3545;
  padding: 25px;
  border-radius: 8px;
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}
.form-label {
  font-weight: 600;
  color: #34495e;
  margin-bottom: 8px;
}
.required-star {
  color: #dc3545;
}
.form-control, .form-select {
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #dae1e7;
  background-color: #fdfdfd;
  transition: all 0.3s;
}
.form-control:focus {
  background-color: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.1);
}
.upload-premium-wrapper {
  background-color: #fff;
  padding: 5px;
  border-radius: 12px;
}
.upload-drop-zone {
  position: relative;
  border: 2px dashed #dae1e7;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: #f8fbff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.upload-drop-zone:hover, .upload-drop-zone.drag-over {
  border-color: var(--accent-color);
  background: #f0f7ff;
  box-shadow: inset 0 0 20px rgba(0, 114, 255, 0.05);
  transform: translateY(-2px);
}
.drop-zone__icon {
  font-size: 3rem;
  background: linear-gradient(135deg, #0056b3 0%, #0072ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  transition: transform 0.3s;
}
.upload-drop-zone:hover .drop-zone__icon {
  transform: scale(1.1);
}
.drop-zone__title {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}
.drop-zone__subtitle {
  display: block;
  font-size: 0.9rem;
  color: #8da2b5;
}
.upload-file-info {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 20px;
  margin-top: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  animation: fadeIn 0.4s ease;
}
.file-detail-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.file-meta h6 {
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-meta span {
  font-size: 0.85rem;
  color: #95a5a6;
}
.btn-remove-file {
  background: #fee2e2;
  color: #dc3545;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}
.btn-remove-file:hover {
  background: #fecaca;
  transform: rotate(90deg);
}
.progress-container {
  margin-top: 10px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 5px;
}
.progress-track {
  height: 8px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0056b3 0%, #00c6ff 100%);
  width: 0%;
  border-radius: 10px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(0, 114, 255, 0.4);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.captcha-wrap {
  background: #eff4f8;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  display: inline-block;
  min-width: 340px;
  border: 1px solid #e1e7ec;
}
.captcha-txt {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 3px;
  font-family: monospace;
}
.btn-main {
  background: var(--primary-gradient);
  color: #fff;
  padding: 14px 60px;
  border-radius: 50px;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(5, 74, 145, 0.3);
  transition: all 0.3s;
}
.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(5, 74, 145, 0.4);
  color: #fff;
  background: linear-gradient(135deg, #054a91 0%, #0072ff 100%);
}
.btn-main:disabled {
  background: #e2e6ea;
  color: #aeb5bc;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
.form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
@media (max-width: 768px) {
  .premium-card {
    padding: 30px;
  }
  .banner-title {
    font-size: 2.2rem;
  }
  .banner-section {
    padding-top: 50px;
  }
}