@import "popup-banner.css";
@import "external-links.css";
@import "berita.css";
@import "pages.css";
@import "survey-slider.css";
@import "survey-results.css";

.pengumuman-list .author-box {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.pengumuman-list .author-box:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.agenda-list .author-box {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.agenda-list .author-box:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.survey-content img {
  transition: transform 0.3s ease;
}

.survey-content img:hover {
  transform: scale(1.02);
}

.social-media-section a:hover {
  transform: scale(1.1) !important;
}

/* Responsive improvements */
@media (max-width: 991px) {
  .content-section {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .pengumuman-list .author-box {
    flex-direction: column;
    text-align: center;
  }

  .pengumuman-list .author-img {
    margin-bottom: 15px;
  }

  .agenda-details span:first-child {
    width: auto !important;
    display: block;
    margin-bottom: 2px;
  }

  .social-media-section ul {
    gap: 8px !important;
  }

  .social-media-section a {
    width: 35px !important;
    height: 35px !important;
  }
}

/* Section Header */
.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-transform: none;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ffb600, #ff8c00);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===================================
   Form Pengajuan Modern Styles
   =================================== */

.form-pengajuan-modern {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.form-pengajuan-modern:hover {
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.form-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 25px;
  border-bottom: 3px solid #009c41;
  text-align: center;
}

.form-header-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, #009c41, #00b84d);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 156, 65, 0.3);
}

.form-header-icon i {
  font-size: 28px;
  color: #fff;
}

.form-title {
  color: #212121;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 0;
  font-weight: 400;
}

.form-body {
  padding: 30px 25px;
}

.form-group-modern {
  margin-bottom: 20px;
}

.modern-label {
  color: #333;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.modern-label i {
  color: #009c41;
  margin-right: 6px;
  width: 16px;
  text-align: center;
}

.modern-input,
.modern-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 7px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.modern-input:focus,
.modern-select:focus {
  border-color: #009c41;
  box-shadow: 0 0 0 0.2rem rgba(0, 156, 65, 0.15);
  outline: none;
  background: #fff;
}

.modern-input::placeholder {
  color: #aaa;
  font-size: 13px;
}

.modern-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23009c41' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  appearance: none;
  padding-right: 40px;
}

.modern-file {
  border: 2px dashed #e0e0e0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.modern-file:hover {
  border-color: #009c41;
  background: #f8fff9;
}

.modern-file:focus {
  border-color: #009c41;
  border-style: solid;
  outline: none;
}

.file-info {
  background: #fff3cd;
  border-left: 4px solid #ffb600;
  padding: 10px 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  font-size: 12px;
  color: #856404;
}

.file-info i {
  color: #ffb600;
  margin-right: 5px;
}

.table-dokumen {
  width: 100%;
  margin-top: 10px;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.table-dokumen thead th {
  background: linear-gradient(135deg, #009c41, #00b84d);
  color: #fff;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
}

.table-dokumen thead th:first-child {
  border-radius: 8px 0 0 8px;
}

.table-dokumen thead th:last-child {
  border-radius: 0 8px 8px 0;
}

.table-dokumen thead th i {
  margin-right: 5px;
  opacity: 0.9;
}

.table-dokumen tbody tr {
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.table-dokumen tbody tr:hover {
  background: #e9ecef;
}

.table-dokumen tbody td {
  padding: 10px;
  border: none;
}

.table-dokumen tbody tr td:first-child {
  border-radius: 8px 0 0 8px;
}

.table-dokumen tbody tr td:last-child {
  border-radius: 0 8px 8px 0;
}

.table-dokumen tfoot td {
  padding: 15px 10px 0;
  border: none;
}

.btn-add-doc {
  background: linear-gradient(135deg, #17a2b8, #138496);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
  position: relative;
  overflow: hidden;
}

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

.btn-add-doc:hover::before {
  width: 300px;
  height: 300px;
}

.btn-add-doc:hover {
  background: linear-gradient(135deg, #138496, #17a2b8);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
  color: #fff;
}

.btn-add-doc:active {
  transform: translateY(0) scale(0.98);
}

.btn-add-doc i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.btn-add-doc:hover i {
  transform: rotate(90deg);
}

.btn-delete-doc {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-delete-doc::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.btn-delete-doc:hover::before {
  width: 200px;
  height: 200px;
}

.btn-delete-doc:hover {
  background: linear-gradient(135deg, #c82333, #dc3545);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.5);
  color: #fff;
}

.btn-delete-doc:active {
  transform: translateY(0) scale(1.05);
}

.btn-delete-doc i {
  transition: transform 0.3s ease;
}

.btn-delete-doc:hover i {
  transform: rotate(10deg) scale(1.1);
}

.btn-submit-modern {
  background: linear-gradient(135deg, #009c41, #00b84d);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 20px rgba(0, 156, 65, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-submit-modern::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-submit-modern:hover::before {
  width: 400px;
  height: 400px;
}

.btn-submit-modern:hover {
  background: linear-gradient(135deg, #00b84d, #009c41);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 156, 65, 0.5);
  color: #fff;
}

.btn-submit-modern:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-submit-modern i {
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.btn-submit-modern:hover i {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .form-pengajuan-modern {
    margin-bottom: 30px;
  }

  .form-header {
    padding: 20px;
  }

  .form-header-icon {
    width: 50px;
    height: 50px;
  }

  .form-header-icon i {
    font-size: 24px;
  }

  .form-title {
    font-size: 18px;
  }

  .form-body {
    padding: 20px 15px;
  }

  .table-dokumen {
    font-size: 12px;
  }

  .table-dokumen thead th,
  .table-dokumen tbody td {
    padding: 8px 6px;
  }

  .btn-submit-modern {
    width: 100%;
    padding: 14px 20px;
  }
}

/* ===================================
   Tracking Box Modern Styles
   =================================== */

.tracking-box-modern {
  background: linear-gradient(135deg, #009c41 0%, #00b84d 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 156, 65, 0.3);
  transition: all 0.3s ease;
}

.tracking-box-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 156, 65, 0.4);
}

.tracking-header {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 25px;
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.tracking-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, #ffb600, #ff8c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(255, 182, 0, 0.4);
}

.tracking-icon i {
  font-size: 32px;
  color: #fff;
}

.tracking-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: none;
}

.tracking-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 0;
  font-weight: 400;
}

.tracking-body {
  padding: 30px 25px;
}

.tracking-label {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px;
  display: block;
}

.tracking-label i {
  color: #ffb600;
  margin-right: 5px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  z-index: 2;
}

.tracking-input {
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 12px 15px 12px 45px;
  font-size: 15px;
  color: #333;
  transition: all 0.3s ease;
  height: auto;
}

.tracking-input:focus {
  background: #fff;
  border-color: #ffb600;
  box-shadow: 0 0 0 0.2rem rgba(255, 182, 0, 0.25);
  outline: none;
}

.tracking-input::placeholder {
  color: #aaa;
  font-size: 13px;
}

.tracking-body .form-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin-top: 8px;
  font-style: italic;
}

.btn-tracking {
  background: linear-gradient(135deg, #ffb600, #ff8c00);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 35px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(255, 182, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

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

.btn-tracking:hover::before {
  width: 350px;
  height: 350px;
}

.btn-tracking:hover {
  background: linear-gradient(135deg, #ff8c00, #ffb600);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 182, 0, 0.6);
  color: #fff;
}

.btn-tracking:active {
  transform: translateY(-1px) scale(1.02);
  transition: all 0.1s ease;
}

.btn-tracking i {
  margin-right: 8px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-tracking:hover i {
  transform: scale(1.2) rotate(15deg);
}

.tracking-result {
  padding: 0 25px 25px;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .tracking-box-modern {
    margin-top: 30px;
  }
}

@media (max-width: 767.98px) {
  .tracking-header {
    padding: 25px 20px;
  }

  .tracking-icon {
    width: 60px;
    height: 60px;
  }

  .tracking-icon i {
    font-size: 28px;
  }

  .tracking-title {
    font-size: 20px;
  }

  .tracking-body {
    padding: 25px 20px;
  }

  .btn-tracking {
    width: 100%;
    padding: 14px 20px;
  }
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2.2rem;
  }
}
