:root {
  --primary-color: #0d7377;
  --secondary-color: #14919b;
  --accent-color: #2db1a0;
  --accent-light: #54b6b6;
  --neutral-dark: #1f2937;
  --neutral-light: #e8f8f7;
  --text-color: #111827;
  --border-color: #d4e9e7;
  --success-color: #10b981;
  --spacing-unit: 1rem;
  --gradient-primary: linear-gradient(135deg, #0d7377 0%, #14919b 50%, #2db1a0 100%);
  --gradient-secondary: linear-gradient(135deg, #14919b 0%, #54b6b6 100%);
  --bg-light: #f5fffe;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(13, 115, 119, 0.1);
  --shadow-lg: 0 8px 24px rgba(13, 115, 119, 0.15);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

/* ===== NAVIGATION ===== */
.navbar {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
}

.logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-menu a:hover {
  opacity: 0.8;
}

.btn-nav-pengajuan {
  background-color: #ff6b6b;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-nav-pengajuan:hover {
  background-color: #ff5252;
  transform: translateY(-2px);
}

.btn-login {
  background-color: #25d366;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-login:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Added background image of Tangsel city */
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("/si-umkm.png") no-repeat
    center / cover;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Adjusted overlay to be more subtle with background image -->*/
  background: linear-gradient(135deg, rgba(13, 115, 119, 0.4) 0%, rgba(20, 145, 155, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  width: 100%;
}

.btn-whatsapp {
  width: 100%;
  padding: 0.75rem;
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 66px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #20ba5b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  min-height: 80vh;
  padding: 0;
}

.content-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
}

.bg-light {
  background-color: var(--bg-light);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* ===== UMKM TABLE ===== */
.umkm-container {
  margin-top: 2rem;
}

.table-wrapper {
  overflow-x: auto;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.umkm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.umkm-table thead {
  background: var(--gradient-secondary);
  color: white;
}

.umkm-table th,
.umkm-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.umkm-table tbody tr:hover {
  background-color: var(--neutral-light);
}

.umkm-note {
  background-color: #fffbeb;
  border-left: 4px solid var(--primary-color);
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
}

/* ===== DESTINASI GRID ===== */
.destinasi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.destinasi-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.destinasi-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.destinasi-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.destinasi-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.destinasi-card:hover .destinasi-image img {
  transform: scale(1.05);
}

.destinasi-content {
  padding: 1.5rem;
}

.destinasi-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.destinasi-content p {
  margin-bottom: 0.75rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Added styles for displaying destinasi contact information -->*/
.destinasi-contact {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.destinasi-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.destinasi-location {
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* ===== BERITA GRID ===== */
.berita-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.berita-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.berita-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.berita-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.berita-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.berita-card:hover .berita-image img {
  transform: scale(1.05);
}

.berita-content {
  padding: 1.5rem;
}

.berita-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.berita-content p {
  margin-bottom: 0.75rem;
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
}

.berita-date {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-top: 1rem;
}

/* ===== FORM STYLES ===== */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.pengajuan-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* ===== KONTAK SECTION ===== */
.kontak-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.kontak-section {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.kontak-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.kontak-section p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.whatsapp-container {
  margin-bottom: 2rem;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  padding: 0.5rem 0;
  color: #6b7280;
}

.contact-list strong {
  color: var(--text-color);
}

.maps-section {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.maps-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.maps-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.lokasi-alamat {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #6b7280;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ===== LOGIN PAGE ===== */
.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--gradient-primary);
}

.login-wrapper {
  display: flex;
  width: 100%;
  height: 100vh;
  max-width: 100%;
}

.login-branding {
  flex: 1;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: white;
}

.branding-content {
  text-align: center;
  max-width: 400px;
}

.branding-logo {
  width: 140px;
  height: 140px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.branding-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.branding-subtitle {
  font-size: 1.5rem;
  margin: 0;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.branding-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}

.login-container {
  flex: 1;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-box {
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Scrollbar styling */
.login-box::-webkit-scrollbar {
  width: 6px;
}

.login-box::-webkit-scrollbar-track {
  background: transparent;
}

.login-box::-webkit-scrollbar-thumb {
  background: #d4e9e7;
  border-radius: 3px;
}

.login-box::-webkit-scrollbar-thumb:hover {
  background: #0d7377;
}

.login-box h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 800;
}

.login-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Added notification styles */
.notification {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notification-error {
  background-color: #fee2e2;
  border: 1px solid #fecaca;
}

.notification-success {
  background-color: #dcfce7;
  border: 1px solid #bbf7d0;
}

.notification-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
}

.notification-text {
  color: #6b7280;
  margin: 0;
  font-size: 0.9rem;
}

.notification-error .notification-title {
  color: #991b1b;
}

.notification-error .notification-text {
  color: #7f1d1d;
}

.notification-success .notification-title {
  color: #15803d;
}

.notification-success .notification-text {
  color: #166534;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.notification-close:hover {
  color: #111827;
}

.login-form {
  margin-bottom: 1.5rem;
}

.login-info {
  background-color: var(--neutral-light);
  border-left: 4px solid var(--primary-color);
  padding: 1rem;
  border-radius: 6px;
  margin: 2rem 0;
}

.info-label {
  margin: 0 0 0.75rem 0;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-text {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-color);
  font-family: "Courier New", monospace;
}

.info-text strong {
  color: var(--primary-color);
  font-weight: 700;
  background: rgba(13, 115, 119, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

.btn-login-submit {
  background: var(--gradient-primary);
  color: white;
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(13, 115, 119, 0.15);
  margin-top: 0.5rem;
}

.btn-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 115, 119, 0.25);
}

.btn-login-submit:active {
  transform: translateY(0);
}

.login-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.login-link a:hover {
  gap: 0.8rem;
}

/* Added login page styling improvements */
.login-header {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.login-logo {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.login-header h1 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0;
}

.login-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.login-info {
  background-color: var(--neutral-light);
  border-left: 4px solid var(--primary-color);
  padding: 1rem;
  border-radius: 4px;
  margin: 1.5rem 0;
}

.info-text {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-color);
}

.info-text strong {
  color: var(--primary-color);
  font-family: monospace;
}

/* Added status badge styling */
.status-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-badge.pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.status-badge.rejected {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Add page header styles */
.page-header {
  background: linear-gradient(rgba(13, 115, 119, 0.6), rgba(20, 145, 155, 0.6)), url("/si-umkm.png") center / cover no-repeat;
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.95;
  position: relative;
  z-index: 2;
}

/* Add filter section styles */
.filter-section {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

/* Add pagination styles */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  background-color: white;
  color: var(--primary-color);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  border-color: var(--primary-color);
  background-color: var(--neutral-light);
}

.pagination-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* ===== LOGIN TABS STYLING ===== */
.login-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  background-color: #f9fffe;
  padding: 0;
  border-radius: 6px 6px 0 0;
}

.tab-button {
  flex: 1;
  padding: 0.6rem 0.8rem;
  background: none;
  border: none;
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-button:hover {
  color: var(--primary-color);
  background-color: rgba(13, 115, 119, 0.05);
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background-color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SUBMISSION FORM STYLING ===== */
.submission-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.stepper-step.active {
  opacity: 1;
}

.stepper-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--border-color);
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.3s ease;
}

.stepper-step.active .stepper-number {
  background-color: var(--primary-color);
  color: white;
}

.stepper-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
}

.stepper-step.active .stepper-title {
  color: var(--primary-color);
}

.stepper-connector {
  flex: 1;
  height: 2px;
  background-color: var(--border-color);
  margin: 0 1rem;
}

.submission-step {
  display: none;
}

.submission-step.active {
  display: block;
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.submission-step h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.step-subtitle {
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.file-upload-area {
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--bg-light);
}

.file-upload-area:hover {
  border-color: var(--primary-color);
  background-color: rgba(13, 115, 119, 0.05);
}

.file-upload-area input[type="file"] {
  display: none;
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.file-upload-area p {
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.upload-hint {
  display: block;
  color: #9ca3af;
  font-size: 0.85rem;
}

.required-badge {
  background-color: #fee2e2;
  color: #991b1b;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.optional-badge {
  background-color: #eff6ff;
  color: #1e40af;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: space-between;
}

.btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-link:hover {
  opacity: 0.8;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ===== DASHBOARD STYLING ===== */
.dashboard-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.submissions-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.submission-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.submission-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.submission-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.submission-header h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin: 0;
}

.submission-meta {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0.25rem 0 0 0;
}

.submission-details {
  background-color: var(--neutral-light);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.detail-label {
  font-weight: 600;
  color: var(--text-color);
  min-width: 120px;
}

.detail-value {
  color: #6b7280;
}

.rejection-reason {
  background-color: #fee2e2;
  border-left: 4px solid #ef4444;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.rejection-reason p {
  margin: 0.25rem 0;
  color: #7f1d1d;
  font-size: 0.95rem;
}

.submission-actions {
  display: flex;
  gap: 1rem;
}

.status-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge.pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-badge.approved {
  background-color: #dcfce7;
  color: #15803d;
}

.status-badge.rejected {
  background-color: #fee2e2;
  color: #991b1b;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .login-branding {
    min-height: 200px;
    padding: 1.5rem;
  }

  .tab-button {
    font-size: 0.85rem;
    padding: 0.6rem 0.75rem;
  }
}

/* ===== FORM INPUT STYLING ===== */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.9rem;
}

.required-asterisk {
  color: #ef4444;
  margin-left: 0.25rem;
  font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(13, 115, 119, 0.08);
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  flex: 1;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  color: #6b7280;
}

.password-toggle:hover {
  opacity: 0.8;
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.checkbox-group {
  margin-bottom: 1.2rem;
  margin-top: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.btn-login-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* ===========================================
   GLOBAL UI POLISH — added by cleanup pass
   Konsistensi button, modal, dan login page
   =========================================== */

/* === Login page polish === */
.login-page { background: linear-gradient(135deg, #0d7377 0%, #14919b 50%, #2db1a0 100%); }
.login-container { box-shadow: -10px 0 30px rgba(0, 0, 0, .05); }
.login-box h2 { margin-top: .5rem; }
.login-tabs { background: #f0faf9; border-radius: 10px; padding: 4px; gap: 2px; }
.tab-button { flex: 1; padding: .75rem 1rem; border: none; background: transparent; border-radius: 8px; font-weight: 600; color: #6b7280; cursor: pointer; transition: all .2s; }
.tab-button:hover { color: var(--primary-color); }
.tab-button.active { background: white; color: var(--primary-color); box-shadow: 0 1px 3px rgba(13, 115, 119, .15); }
.btn-login-submit { width: 100%; padding: .9rem 1.5rem; background: linear-gradient(135deg, #0d7377, #14919b); color: white; border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .2s; }
.btn-login-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(13, 115, 119, .25); }
.btn-login-submit:active { transform: translateY(0); }

/* === Button konsistensi global === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.15rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-primary { background: linear-gradient(135deg, #0d7377, #14919b); color: white; }
.btn-primary:hover { box-shadow: 0 6px 14px rgba(13, 115, 119, .25); }
.btn-secondary { background: #f0faf9; color: #0d7377; border-color: #c5e5e2; }
.btn-secondary:hover { background: #d4eee9; }
.btn-danger { background: #ef4444; color: white; }
.btn-danger:hover { background: #dc2626; box-shadow: 0 6px 14px rgba(239, 68, 68, .25); }
.btn-small { padding: .42rem .85rem; font-size: .82rem; }

/* === Submission card actions buttons === */
.submission-actions .btn,
.submission-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform .12s, box-shadow .2s;
  line-height: 1.2;
}
.submission-actions .btn:hover,
.submission-actions button:hover { transform: translateY(-1px); }

/* === Modal close & action buttons konsistensi === */
.form-modal-overlay button[type="submit"],
.form-modal-overlay button[type="button"] {
  font-size: .9rem;
  font-weight: 600;
  border-radius: 8px;
}

/* === Admin action icon buttons (di tabel UMKM) konsistensi === */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #f3f4f6;
  cursor: pointer;
  transition: all .15s;
  font-size: 1rem;
  padding: 0;
  margin: 0 2px;
}
.btn-action:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0, 0, 0, .08); }
.btn-action.btn-view { background: #e0f2fe; color: #0369a1; border-color: #bae6fd; }
.btn-action.btn-warning { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.btn-action.btn-danger { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }

/* === Admin profile form button === */
#profile-form button[type="submit"] {
  background: linear-gradient(135deg, #0d7377, #14919b);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s, box-shadow .2s;
}
#profile-form button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(13, 115, 119, .25); }
#profile-form button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* === Form input konsistensi === */
.form-modal-overlay input[type="text"],
.form-modal-overlay input[type="email"],
.form-modal-overlay input[type="tel"],
.form-modal-overlay input[type="password"],
.form-modal-overlay input[type="file"],
.form-modal-overlay select,
.form-modal-overlay textarea {
  transition: border-color .15s, box-shadow .15s;
}
.form-modal-overlay input:focus,
.form-modal-overlay select:focus,
.form-modal-overlay textarea:focus {
  outline: none;
  border-color: #14919b;
  box-shadow: 0 0 0 3px rgba(20, 145, 155, .12);
}
