.form-header {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 25px;
}

.form-footer {
  margin-bottom: 45px;
  position: relative;
  /* padding-bottom: 25px; */
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 20px 0px 20px;
}

.form-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #053384 0%, #8eb4d9 50%, #053384 100%);
  border-radius: 2px;
  animation: expandWidth 2s ease-in-out infinite;
}

.search-box {
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.search-box input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}

.form-header-full::after {
  content: "";
  position: absolute;
  /* bottom: 0; */
  /* top: 10px; */
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #053384 0%, #8eb4d9 50%, #053384 100%);
  border-radius: 2px;
  animation: expandWidth 2s ease-in-out infinite;
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* HEADER CHIẾM 2 CỘT */
.form-header-full {
  grid-column: 1 / -1;
  /* 👈 quan trọng */
  text-align: center;
  padding: 30px 20px 0px 20px;
}

.form-header-full img {
  margin-bottom: 15px;
}

/* .form-header {
  margin-bottom: 40px;
} */

.form-header-full h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.form-header-full p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 10px;
}

@keyframes expandWidth {
  0%,
  100% {
    width: 80px;
    opacity: 1;
  }

  50% {
    width: 120px;
    opacity: 0.7;
  }
}

.form-header h1 {
  font-size: 38px;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #053384 0%, #5b8fc7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInDown 0.8s ease-out;
}

.form-header p {
  color: #7f8c8d;
  font-size: 17px;
  font-weight: 400;
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Form Group */
.form-group {
  margin-bottom: 15px;
  position: relative;
  animation: slideInRight 0.6s ease-out backwards;
}

.form-group:nth-child(1) {
  animation-delay: 0.3s;
}

.form-group:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

/* ICON TRÁI */
.input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #5b8fc7;
  font-size: 16px;
  z-index: 2;
}

/* SELECT */
.custom-select {
  position: relative;
  width: 100%;
}

.select-display {
  padding: 18px 20px 20px 48px;
  /* chừa chỗ icon */
  border-radius: 14px;
  border: 2px solid #e6eef5;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  color: #2c3e50;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.select-display:hover {
  border-color: #5b8fc7;
}

.custom-select.active .select-display {
  border-color: #3498db;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

/* Arrow phải */
.arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #5b8fc7;
  border-bottom: 2px solid #5b8fc7;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.custom-select.active .arrow {
  transform: rotate(-135deg);
}

/* Dropdown */
.select-options {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e6eef5;

  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 10;
}

.select-options::-webkit-scrollbar {
  width: 6px;
}

.select-options::-webkit-scrollbar-thumb {
  background: #c5d9f1;
  border-radius: 10px;
}

.select-options::-webkit-scrollbar-thumb:hover {
  background: #5b8fc7;
}

.custom-select.active .select-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.option {
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  flex-direction: column;
}

.diem {
  margin-top: 5px;
  color: #053384;
}

.option:hover {
  background: #f2f8ff;
}

/* Option */
.option {
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.option:hover {
  background: #f2f8ff;
}

.option.selected {
  background: #eaf4ff;
  font-weight: 600;
}

.group2 {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
}

.div-group2 {
  width: 50%;
}

.form-group:focus-within label {
  color: #5b8fc7;
}

/* Luxury Input Wrapper */
.input-wrapper {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(91, 143, 199, 0.1) 0%,
    rgba(142, 180, 217, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.input-wrapper:focus-within::before {
  opacity: 1;
}

.input-wrapper i {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #95a5a6;
  font-size: 19px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 2;
}

.input-wrapper:focus-within i {
  color: #5b8fc7;
  transform: translateY(-50%) scale(1.15) rotate(5deg);
}

/* Premium Form Control */
.form-control {
  width: 100%;
  padding: 18px 24px 18px 58px;
  border: 2.5px solid #e8f0f7;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #2c3e50;
  background: #ffffff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", sans-serif;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(91, 143, 199, 0.08);
}

.form-control::placeholder {
  color: #bdc3c7;
  font-weight: 400;
}

.form-control:hover {
  border-color: #c6dbeb;
  box-shadow: 0 4px 16px rgba(91, 143, 199, 0.12);
}

.form-control:focus {
  outline: none;
  border-color: #5b8fc7;
  background: #ffffff;
  box-shadow:
    0 0 0 5px rgba(91, 143, 199, 0.12),
    0 8px 24px rgba(91, 143, 199, 0.15);
  transform: translateY(-2px);
}

/* Animated Checkbox Group */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 32px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
  border-radius: 14px;
  border: 2px solid #e8f0f7;
  transition: all 0.3s ease;
  animation: slideInRight 0.6s ease-out 0.5s backwards;
}

.checkbox-group:hover {
  border-color: #c6dbeb;
  box-shadow: 0 4px 16px rgba(91, 143, 199, 0.08);
}

.checkbox-group input[type="checkbox"] {
  width: 22px;
  height: 22px;
  cursor: pointer;
  accent-color: #5b8fc7;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  flex-shrink: 0;
  margin-top: 2px;
}

input[type="radio"] {
  width: 25px;
  height: 40px;
  cursor: pointer;
  accent-color: #5b8fc7;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  flex-shrink: 0;
  /* margin-bottom: 10px;  */
}

input[type="radio"]:hover {
  transform: scale(1.1);
}

input[type="radio"]:checked {
  transform: scale(1.15);
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 16px;
  padding-bottom: 2px;
  padding-top: 5px;
}

.checkbox-group input[type="checkbox"]:checked {
  transform: scale(1.2) rotate(10deg);
}

.checkbox-group label {
  margin: 0;
  font-weight: 500;
  color: #34495e;
  font-size: 16px;
  cursor: pointer;
  line-height: 1.6;
}

.checkbox-group label a {
  color: #5b8fc7;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.checkbox-group label a:hover {
  color: #3d6d9e;
  border-bottom-color: #5b8fc7;
}

/* Luxury Register Button */
.btn-register {
  width: 100%;
  padding: 20px 32px;
  background: linear-gradient(135deg, #5b8fc7 0%, #7aa7d3 50%, #5b8fc7 100%);
  background-size: 200% 100%;
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 24px rgba(91, 143, 199, 0.3),
    0 4px 12px rgba(91, 143, 199, 0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  animation: slideInUp 0.6s ease-out 0.6s backwards;
}



.btn-register::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-register::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition:
    width 0.6s ease,
    height 0.6s ease;
}

.btn-register:hover {
  background-position: 100% 0;
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(91, 143, 199, 0.4),
    0 6px 16px rgba(91, 143, 199, 0.3);
}

.btn-register:hover::before {
  left: 100%;
}

.btn-register:hover::after {
  width: 300px;
  height: 300px;
}

.btn-register:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 20px rgba(91, 143, 199, 0.35);
}

.btn-register span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-register span::after {
  content: "→";
  font-size: 22px;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-register:hover span::after {
  transform: translateX(5px);
}

/* Loading State */
.btn-register.loading {
  pointer-events: none;
  opacity: 0.8;
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

.btn-register.loading span::after {
  display: none;
}

.btn-register.loading::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  z-index: 10;
}
.btn-cancel {
  width: 20%;
  padding: 20px 32px;
  background: linear-gradient(135deg, #e57373 0%, #ef5350 50%, #e53935 100%);
  background-size: 200% 100%;
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 24px rgba(229, 115, 115, 0.3),
    0 4px 12px rgba(229, 115, 115, 0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box; /* QUAN TRỌNG */
  
}
.button-group {
  display: flex;
  gap: 16px; /* khoảng cách giữa 2 nút */
  justify-content: center;
}
/* Shine effect */
.btn-cancel::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

/* Ripple effect */
.btn-cancel::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition:
    width 0.6s ease,
    height 0.6s ease;
}

/* Hover */
.btn-cancel:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow:
    0 10px 28px rgba(229, 115, 115, 0.4),
    0 5px 14px rgba(229, 115, 115, 0.3);
}

.btn-cancel:hover::before {
  left: 100%;
}

.btn-cancel:hover::after {
  width: 260px;
  height: 260px;
}

/* Active */
.btn-cancel:active {
  transform: translateY(-1px) scale(0.97);
  box-shadow: 0 5px 16px rgba(229, 115, 115, 0.35);
}

/* Content */
.btn-cancel span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Icon (X) */
.btn-cancel span::after {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.btn-cancel:hover span::after {
  transform: rotate(90deg);
}

/* Loading state */
.btn-cancel.loading {
  pointer-events: none;
  opacity: 0.8;
  background: linear-gradient(135deg, #b0bec5 0%, #90a4ae 100%);
}

.btn-cancel.loading span::after {
  display: none;
}

.btn-cancel.loading::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  z-index: 10;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Required Asterisk */
.required {
  color: #e74c3c;
  margin-left: 3px;
  font-weight: 700;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Enhanced Info Panel */
.info-panel h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* Responsive Enhancements */
@media (max-width: 968px) {
  .form-header h1 {
    font-size: 32px;
  }

  .form-control {
    padding: 16px 20px 16px 54px;
    font-size: 15px;
  }

  .btn-register2 {
    padding: 18px 28px;
    font-size: 16px;
    width: 100% !important;
  }
}

@media (max-width: 912px) {
  .info-panel {
    display: none;
  }

  .select-display {
    font-size: 14px;
  }

  .checkbox-group label {
    font-size: 14px;
  }

  .btn-register2 {
    padding: 18px 28px;
    font-size: 16px;
    width: 100% !important;
  }
}

@media (max-width: 576px) {
  .form-header h1 {
    font-size: 28px;
  }

  .form-header p {
    font-size: 15px;
  }

  .form-control {
    padding: 15px 18px 15px 50px;
    font-size: 14px;
  }

  .checkbox-group {
    padding: 16px;
  }

  .btn-register {
    padding: 16px 24px;
    font-size: 15px;
  }

  .radio-group label {
    font-size: 15px;
  }

  .btn-register span::after {
    font-size: 20px;
  }

  .btn-register2 {
    padding: 18px 28px;
    font-size: 16px;
    width: 100% !important;
  }
}

/* Decorative Elements */
.form-panel {
  position: relative;
  padding-top: 20px;
  justify-content: left;
  padding-bottom: 0px;
}

.form-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(91, 143, 199, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.form-panel::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(142, 180, 217, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Focus Glow Effect */
@keyframes focusGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 5px rgba(91, 143, 199, 0.12),
      0 8px 24px rgba(91, 143, 199, 0.15);
  }

  50% {
    box-shadow:
      0 0 0 8px rgba(91, 143, 199, 0.08),
      0 12px 32px rgba(91, 143, 199, 0.2);
  }
}

.form-control:focus {
  animation: focusGlow 2s ease-in-out infinite;
}

.btn-register2 {
  width: 25%;
  padding: 18px;
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--accent-light) 100%
  );
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(91, 143, 199, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-register2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-register2:hover::before {
  left: 100%;
}

.btn-register2:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(91, 143, 199, 0.35);
}

.form-control.error {
  border: 2px solid #e74c3c;
  background: #fff5f5;
}

.custom-select.error {
  border: 2px solid #e74c3c;
  background: #fff5f5;
  border-radius: 14px;
}

.btn-register2:active {
  transform: translateY(0);
}
.swal2-title {
    font-size: 24px;
  }
@media (max-width: 968px) {
  .radio-group label {
    font-size: 14px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 0px;
  }

  .form-panel {
    padding-top: 14px;
  }

  .swal2-title {
    font-size: 24px;
  }

  .group2 {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
    flex-direction: column;
  }

  .div-group2 {
    width: 100%;
  }

  .file-name {
    max-width: 180px;
    /* chỉnh theo UI */
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
  }
}

.italic {
  font-style: italic;
}

/* .success-message{
  position: fixed;
  top: 20px;
  right: 20px;
  background: #2ecc71;
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
*/
.success-message.pulse {
  animation: pulseEffect 1s infinite;
}

.error-message.pulse {
  animation: pulseEffect 1s infinite;
}

@keyframes pulseEffect {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

#errorMessage {
  opacity: 1;
  transition: opacity 1s ease;
}

#errorMessage.fade-out {
  opacity: 0;
}

#successMessage {
  opacity: 1;
  transition: opacity 1s ease;
}

#successMessage.fade-out {
  opacity: 0;
}

.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Inter", sans-serif;
  margin-top: 15px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(91, 143, 199, 0.12);
}

/* Header */
.table-custom thead {
  background: linear-gradient(135deg, #e8f0f7, #f5f9ff);
}

.table-custom th {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  border-bottom: 2px solid #e8f0f7;
}

/* Body */
.table-custom td {
  padding: 14px 16px;
  font-size: 15px;
  color: #34495e;
  border-bottom: 1px solid #eef3f8;
}

/* Hover */
.table-custom tbody tr {
  transition: all 0.25s ease;
}

.table-custom tbody tr:hover {
  background: #f8fbff;
}

/* Dòng cuối */
.table-custom tbody tr:last-child td {
  border-bottom: none;
}

/* Empty state */
.table-empty {
  text-align: center;
  padding: 20px;
  color: #7f8c8d;
  font-style: italic;
}

.time-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #e8f0f7;
  border-radius: 8px;
  font-weight: 600;
  color: #2c3e50;
}

#fileList {
  margin-top: 10px;
}

.file-item {
  padding: 8px 12px;
  margin-bottom: 6px;
  background: #f5f9ff;
  border: 1px solid #e8f0f7;
  border-radius: 10px;
  font-size: 14px;
  color: #2c3e50;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-item i {
  color: #5b8fc7;
  margin-right: 8px;
}

.file-upload {
  position: relative;
}

/* Ẩn input gốc */
.file-upload input[type="file"] {
  display: none;
}

/* Label giả làm input */
.file-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  border: 2.5px dashed #e8f0f7;
  border-radius: 16px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  box-shadow: 0 2px 8px rgba(91, 143, 199, 0.08);
}

/* Hover */
.file-label:hover {
  border-color: #5b8fc7;
  background: #f5f9ff;
}

/* Icon */
.file-label i {
  color: #5b8fc7;
  font-size: 18px;
}

/* Text */
.file-text {
  color: #2c3e50;
  font-weight: 500;
}

/* Khi đã chọn file */
.file-upload.active .file-label {
  border-style: solid;
  border-color: #5b8fc7;
}

.file-item {
  padding: 8px 12px;
  margin-bottom: 6px;
  background: #f5f9ff;
  border: 1px solid #e8f0f7;
  border-radius: 10px;
  font-size: 14px;
  color: #2c3e50;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-remove {
  cursor: pointer;
  color: #e74c3c;
  font-weight: bold;
  margin-left: 10px;
}

.file-remove:hover {
  color: #c0392b;
}

#fileList {
  margin-top: 10px;
  max-height: 90px; /* ~2 file (tuỳ padding bạn chỉnh) */
  overflow-y: auto;
  padding-right: 5px;
}

/* thanh scroll đẹp hơn */
#fileList::-webkit-scrollbar {
  width: 6px;
}

#fileList::-webkit-scrollbar-thumb {
  background: #cbd6e2;
  border-radius: 10px;
}
