/* =========================================================
   ===== HEADER BANNER (dari dashboard) =====
========================================================= */
.event-header-banner {
 background: #b60000;
  color: white;
  padding: 0;
  text-align: center;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  padding: 10px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-text {
  color: white;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1;
  display: inline-block;
}


/* =========================================================
   ===== FORM INPUT ANGGOTA =====
========================================================= */
.anggota-section {
  padding: 60px 20px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.form-container {
  max-width: 500px;
  width: 100%;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #000;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #000;
  font-size: 0.9rem;
}

input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease;
  font-size: 0.9rem;
  box-sizing: border-box;
}

input[type="text"]:focus {
  border-color: #b60000;
}

input[type="text"]::placeholder {
  color: #999;
}

/* Upload box */
.foto-upload {
  text-align: center;
}

.upload-box {
  width: 100%;
  height: 150px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #888;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  margin-bottom: 10px;
  background-color: #f9f9f9;
}

.upload-box:hover {
  border-color: #b60000;
  color: #b60000;
  background-color: #f0f0f0;
}

.upload-box i {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.upload-box p {
  margin: 0;
  font-size: 0.9rem;
}

/* Preview image */
.preview-container {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.preview-container img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  border: 2px solid #ddd;
}

/* Button group */
/* =========================================================
   ===== TOMBOL TAMBAH TIM & KEMBALI =====
========================================================= */
.button-group {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 25px;
}

.btn-tambah,
.btn-kembali {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  color: #2e2e2e; /* Teks putih */
  border: 1px solid #000000; /* Border putih */
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-tambah:hover,
.btn-kembali:hover {
  font-weight: 700;
  background-color: #b60000;
  color: #fff;
  border-color: #b60000;
  transform: translateY(-2px);
}

.btn-tambah:active,
.btn-kembali:active {
  transform: translateY(0);
}

.btn-tambah i,
.btn-kembali i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-tambah:hover i,
.btn-kembali:hover i {
  transform: scale(1.1);
}
/* =========================================================
   ===== MESSAGE STYLES =====
========================================================= */
.message {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.message i {
  font-size: 1.2rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   ===== RESPONSIVE DESIGN =====
========================================================= */
@media (max-width: 768px) {
  .anggota-section {
    padding: 40px 15px;
  }
  
  .form-container {
    padding: 30px 20px;
  }
  
  .event-text {
    font-size: 2rem;
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .btn-simpan,
  .btn-kembali {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .event-text {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  
  .form-container {
    padding: 20px 15px;
  }
  
  .upload-box {
    height: 120px;
  }
  
  .upload-box i {
    font-size: 2rem;
  }
}

/* ===== ANGGOTA PAGE STYLES - LAYOUT FOTO KIRI INFO KANAN ===== */
.anggota-section {
  padding: 40px 20px;
  background-color: #f8f9fa;
  min-height: 60vh;
}

.anggota-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
}

.anggota-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: visible;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  min-height: 240px;
  height: auto;
}

.anggota-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.anggota-foto {
  width: 180px;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anggota-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.anggota-card:hover .anggota-foto img {
  transform: scale(1.05);
}

.anggota-info {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  width: calc(100% - 340px); /* Sesuaikan dengan lebar foto + tombol */
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 12px 0;
}

.info-separator {
  height: 2px;
  background-color: #2e2e2e;
  margin: 0;
  width: 100%;
}

.label {
  font-weight: bold;
  color: #2e2e2e;
  min-width: 80px;
  font-size: 1rem;
  flex-shrink: 0;
  margin-right: 15px;
}

.value {
  color: #2e2e2e;
  font-size: 1rem;
  font-weight: 500;
  padding: 0;
  background: transparent;
  border-radius: 0;
  flex: 1;
  border-left: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  min-width: 0;
  overflow: hidden;
}

.no-data {
  text-align: center;
  grid-column: 1 / -1;
  padding: 40px;
  font-size: 1.1rem;
  color: #666;
  background: #fff;
  border-radius: 8px;
  border: 2px dashed #ddd;
}

/* =========================================================
   ===== TOMBOL AKSI EDIT & HAPUS =====
========================================================= */
.anggota-actions {
  width: 160px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border-left: 2px solid #f5f5f5;
  background: #fafafa;
  border-radius: 0 12px 12px 0;
}

.btn-edit,
.btn-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  color: #2e2e2e; /* Teks putih */
  border: 1px solid #000000; /* Border putih */
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-edit:hover {
  font-weight: 700;
  background-color: #b60000;
  color: #fff;
  border-color: #b60000;
  transform: translateY(-2px);  
}

.btn-edit:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.btn-delete:hover {
  background-color: #b60000;
  color: #fff;
  border-color: #b60000;
}

.btn-delete:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.btn-edit i,
.btn-delete i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.btn-edit:hover i,
.btn-delete:hover i {
  transform: scale(1.1);
}

/* =========================================================
   ===== MODAL STYLES =====
========================================================= */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: #fff;
  margin: 2% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
  position: relative;
}

.modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  margin: 0;
  color: #000;
  font-size: 1.5rem;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #000;
}

/* =========================================================
   ===== MODAL LAYOUT BARU =====
========================================================= */
.modal-body {
  padding: 20px 25px;
}

.form-columns {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.form-left {
  flex: 1;
  min-width: 0;
}

.form-right {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Style untuk form di modal */
#editForm .form-group {
  margin-bottom: 5px;
}

#editForm label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #000;
  font-size: 0.9rem;
}

#editForm input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease;
  font-size: 0.9rem;
  box-sizing: border-box;
}

#editForm input[type="text"]:focus {
  border-color: #b60000;
}

/* Style untuk foto upload di modal */
.form-right .foto-upload {
  text-align: center;
}

.form-right .upload-box {
  width: 100%;
  height: 120px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #888;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  background-color: #f9f9f9;
  margin-bottom: 10px;
}

.form-right .upload-box:hover {
  border-color: #b60000;
  color: #b60000;
  background-color: #f0f0f0;
}

.form-right .upload-box i {
  font-size: 2rem;
  margin-bottom: 8px;
}

.form-right .upload-box p {
  margin: 0;
  font-size: 0.8rem;
  text-align: center;
}

.form-right .preview-container {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.form-right .preview-container img {
  max-width: 100%;
  max-height: 150px;
  border-radius: 8px;
  border: 2px solid #ddd;
  object-fit: cover;
}

/* Tombol aksi di kolom kanan */
.form-right .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.form-right .btn-cancel,
.form-right .btn-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  color: #2e2e2e; /* Teks putih */
  border: 1px solid #000000; /* Border putih */
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-right .btn-cancel:hover,
.form-right .btn-save:hover {
  font-weight: 700;
  background-color: #b60000;
  color: #fff;
  border-color: #b60000;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   ===== DROPDOWN JABATAN STYLES (SAMA SEPERTI INPUTANGGOTA) =====
========================================================= */
.jabatan-dropdown {
  position: relative;
  width: 100%;
}

.jabatan-select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease;
  font-size: 0.9rem;
  background-color: white;
  cursor: pointer;
}

.jabatan-select:focus {
  border-color: #b60000;
}

.submenu-dropdown {
  position: relative;
  width: 100%;
  margin-top: 8px;
}

.submenu-select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease;
  font-size: 0.9rem;
  background-color: white;
  cursor: pointer;
}

.submenu-select:focus {
  border-color: #b60000;
}

.custom-jabatan-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #b60000;
  border-radius: 6px;
  outline: none;
  font-size: 0.9rem;
  margin-top: 8px;
  background-color: #fff8f8;
  transition: border-color 0.3s ease;
}

.custom-jabatan-input:focus {
  border-color: #b60000;
  background-color: #fff;
}

.custom-jabatan-input::placeholder {
  color: #999;
}

.jabatan-preview {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #000000;
  font-weight: bold;
  min-height: 20px;
}

/* Hidden class untuk menyembunyikan elemen */
.hidden {
  display: none;
}

/* Animation untuk custom jabatan container */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   ===== STYLE UNTUK FIELD READONLY =====
========================================================= */
.readonly-field {
  width: 100%;
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  outline: none;
  font-size: 0.9rem;
  box-sizing: border-box;
  background-color: #f5f5f5;
  color: #666;
  cursor: not-allowed;
}

.readonly-field:focus {
  border-color: #e0e0e0;
  background-color: #f5f5f5;
}

/* Responsive Design untuk halaman anggota */
/* ==================== RESPONSIVE DESIGN - TABLET (768px and above) ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* ANGGOTA SECTION TABLET */
  .anggota-section {
    padding: 40px 20px;
  }
  
  /* CONTAINER GRID 2 KOLOM UNTUK TABLET */
  .anggota-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolom untuk tablet */
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* CARD ANGGOTA TABLET - LAYOUT SAMA DENGAN DESKTOP */
  .anggota-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: visible;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: row;
    min-height: 220px;
    height: auto;
    width: 100%;
  }
  
  .anggota-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }
  
  .anggota-foto {
    width: 160px; /* Sedikit lebih kecil dari desktop */
    height: 220px; /* Sesuaikan dengan tinggi card */
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .anggota-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .anggota-card:hover .anggota-foto img {
    transform: scale(1.05);
  }
  
  .anggota-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    width: calc(100% - 160px - 140px); /* Sesuaikan dengan lebar foto + tombol */
  }
  
  .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding: 10px 0;
  }
  
  .info-separator {
    height: 2px;
    background-color: #2e2e2e;
    margin: 0;
    width: 100%;
  }
  
  .label {
    font-weight: bold;
    color: #2e2e2e;
    min-width: 70px; /* Sedikit lebih kecil dari desktop */
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-right: 12px;
  }
  
  .value {
    color: #2e2e2e;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0;
    background: transparent;
    border-radius: 0;
    flex: 1;
    border-left: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    min-width: 0;
    overflow: hidden;
  }
  
  /* TOMBOL AKSI TABLET */
  .anggota-actions {
    width: 140px; /* Lebar tombol untuk tablet */
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    border-left: 2px solid #f5f5f5;
    background: #fafafa;
    border-radius: 0 12px 12px 0;
  }
  
  .btn-edit,
  .btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px; /* Sedikit lebih kecil dari desktop */
    color: #2e2e2e;
    border: 1px solid #000000;
    border-radius: 9999px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .btn-edit:hover {
    font-weight: 700;
    background-color: #b60000;
    color: #fff;
    border-color: #b60000;
    transform: translateY(-2px);  
  }
  
  .btn-delete:hover {
    background-color: #b60000;
    color: #fff;
    border-color: #b60000;
  }
  
  .btn-edit i,
  .btn-delete i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
  }
  
  .btn-edit:hover i,
  .btn-delete:hover i {
    transform: scale(1.1);
  }
}

/* ==================== RESPONSIVE DESIGN - MOBILE (max-width: 768px) ==================== */
@media (max-width: 768px) {
  /* HEADER BANNER MOBILE */
  .event-header-banner {
    padding: 0;
  }
  
  .banner-content {
    padding: 8px 0;
  }
  
  .event-text {
    font-size: 2rem;
  }
  
  /* ANGGOTA SECTION MOBILE */
  .anggota-section {
    padding: 30px 15px;
  }
  
  .anggota-container {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* CARD ANGGOTA MOBILE - LANDSCAPE LAYOUT */
  .anggota-card {
    min-height: auto;
    flex-direction: row;
    height: 150px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  /* CARD PERTAMA SAJA yang full landscape */
  .anggota-container .anggota-card:first-child {
    height: 150px;
  }
  
  .anggota-foto {
    width: 140px;
    height: 100%;
    border-radius: 12px 0 0 12px;
    flex-shrink: 0;
  }
  
  .anggota-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .anggota-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
  
  .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding: 6px 0;
  }
  
  .info-separator {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0;
    width: 100%;
  }
  
  .label {
    min-width: 60px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 0;
  }
  
  .value {
    font-size: 0.9rem;
    margin-left: 0;
    width: auto;
    flex: 1;
  }
  
  /* TOMBOL AKSI MOBILE - DISUSUN VERTIKAL */
  .anggota-actions {
    width: 90px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border-left: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 12px 12px 0;
    flex-shrink: 0;
  }
  
  .btn-edit,
  .btn-delete {
    width: 100%;
    padding: 8px 5px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  
  .btn-edit i,
  .btn-delete i {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  
  /* TOMBOL AKSI UNTUK CARD PERTAMA */
  .anggota-container .anggota-card:first-child .anggota-actions {
    padding: 20px 12px;
  }
  
  .anggota-container .anggota-card:first-child .btn-edit,
  .anggota-container .anggota-card:first-child .btn-delete {
    padding: 10px 8px;
    font-size: 0.85rem;
  }
}

/* ==================== VERY SMALL MOBILE (max-width: 480px) ==================== */
@media (max-width: 480px) {
  .event-text {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  
  .anggota-container {
    gap: 15px;
  }
  
  /* CARD ANGGOTA UNTUK HP KECIL */
  .anggota-card {
    height: 150px;
    width: 100%;
  }
  
  .anggota-container .anggota-card:first-child {
    height: 150px;
  }
  
  .anggota-foto {
    width: 120px;
  }
  
  .anggota-info {
    padding: 12px;
  }
  
  .info-item {
    padding: 4px 0;
  }
  
  .label {
    min-width: 50px;
    font-size: 0.85rem;
    margin-right: 8px;
  }
  
  .value {
    font-size: 0.85rem;
  }
  
  .anggota-actions {
    width: 80px;
    padding: 12px 8px;
    gap: 6px;
  }
  
  .btn-edit,
  .btn-delete {
    padding: 6px 3px;
    font-size: 0.75rem;
  }
  
  .anggota-container .anggota-card:first-child .anggota-actions {
    padding: 15px 10px;
  }
  
  .anggota-container .anggota-card:first-child .btn-edit,
  .anggota-container .anggota-card:first-child .btn-delete {
    padding: 8px 6px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .anggota-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .anggota-card {
    min-height: auto;
  }
  
  .anggota-info {
    padding: 20px;
  }
  
  .anggota-actions {
    padding: 15px;
    gap: 10px;
  }
  
  .btn-edit,
  .btn-delete {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  
  .info-item {
    margin-bottom: 0;
    flex-direction: row;
    align-items: center;
  }
  
  .info-separator {
    margin: 0;
  }
  
  .label {
    min-width: 60px;
    margin-bottom: 0;
    margin-right: 10px;
  }
  
  .value {
    margin-left: 0;
    width: auto;
  }
  
  /* Responsive untuk modal */
  .modal-body {
    padding: 15px 20px;
  }
  
  .form-columns {
    gap: 15px;
  }
  
  .form-right .upload-box {
    height: 100px;
  }
  
  .form-right .upload-box i {
    font-size: 1.5rem;
  }
  
  .form-right .modal-actions {
    flex-direction: column;
  }
  
  .form-right .btn-cancel,
  .form-right .btn-save {
    width: 100%;
    max-width: none;
  }
}
/* =========================================================
   ===== MODAL KONFIRMASI HAPUS =====
========================================================= */
#deleteModal .modal-content {
  max-width: 450px;
}

#deleteModal p {
  margin: 0 0 20px 0;
  color: #000;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

/* Tombol di modal hapus */
.modal-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.btn-cancel, .btn-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  color: #2e2e2e; /* Teks putih */
  border: 1px solid #000000; /* Border putih */
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel:hover {
  font-weight: 700;
  background-color: #b60000;
  color: #fff;
  border-color: #b60000;
}

.btn-delete:hover {
  font-weight: 700;
  background-color: #b60000;
  color: #fff;
  border-color: #b60000;
}
/* =========================================================
   ===== RESPONSIVE DESIGN - MOBILE VERSION =====
========================================================= */
@media (max-width: 768px) {
  /* HEADER BANNER MOBILE */
  .event-header-banner {
    padding: 0;
  }
  
  .banner-content {
    padding: 8px 0;
  }
  
  .event-text {
    font-size: 2rem;
  }
  
  /* ANGGOTA SECTION MOBILE */
  .anggota-section {
    padding: 30px 15px;
  }
  
  .anggota-container {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* CARD ANGGOTA MOBILE - LANDSCAPE LAYOUT UNTUK BARIS PERTAMA */
  .anggota-card {
    min-height: auto;
    flex-direction: row;
    height: 150px; /* Ditinggikan sedikit */
    width: 600px; /* Memenuhi lebar container */
    max-width: 100%; /* Memastikan tidak terbatas */
    margin: 0 auto; /* Tinggi tetap untuk landscape */
  }
  
  /* CARD PERTAMA SAJA yang full landscape */
  .anggota-container .anggota-card:first-child {
    height: 150px; /* Sedikit lebih tinggi untuk card pertama */
  }
  
  .anggota-foto {
    width: 140px; /* Lebar foto untuk landscape layout */
    height: 100%; /* Tinggi penuh mengikuti card */
    border-radius: 12px 0 0 12px; /* Sudut kiri atas dan kiri bawah */
    flex-shrink: 0;
  }
  
  .anggota-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .anggota-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
  
  .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding: 6px 0;
  }
  
  .info-separator {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0;
    width: 100%;
  }
  
  .label {
    min-width: 60px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 0;
  }
  
  .value {
    font-size: 0.9rem;
    margin-left: 0;
    width: auto;
    flex: 1;
  }
  
  /* TOMBOL AKSI MOBILE - DISUSUN VERTIKAL */
  .anggota-actions {
    width: 90px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border-left: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 12px 12px 0;
    flex-shrink: 0;
  }
  
  .btn-edit,
  .btn-delete {
    width: 100%;
    padding: 8px 5px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  
  .btn-edit i,
  .btn-delete i {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  
  /* TOMBOL AKSI UNTUK CARD PERTAMA */
  .anggota-container .anggota-card:first-child .anggota-actions {
    padding: 20px 12px;
  }
  
  .anggota-container .anggota-card:first-child .btn-edit,
  .anggota-container .anggota-card:first-child .btn-delete {
    padding: 10px 8px;
    font-size: 0.85rem;
  }
  
  /* ===== MODAL STYLES MOBILE ===== */
  .form-columns {
    flex-direction: column;
    gap: 20px;
  }
  
  .form-right {
    width: 100%;
    order: -1; /* Foto di atas pada mobile */
  }
  
  .form-right .modal-actions {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .form-right .btn-cancel,
  .form-right .btn-save {
    width: auto;
    flex: 1;
    max-width: 120px;
  }
  
  .modal-content {
    width: 95%;
    margin: 2% auto;
    max-width: 500px;
  }
}

/* ==================== VERY SMALL MOBILE (max-width: 480px) ==================== */
@media (max-width: 480px) {
  .event-text {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  
  .anggota-container {
    gap: 15px;
  }
  
  /* CARD ANGGOTA UNTUK HP KECIL */
  .anggota-card {
    min-height: auto;
    flex-direction: row;
    height: 150px; /* Ditinggikan sedikit */
    width: 400px; /* Memenuhi lebar container */
    max-width: 100%; /* Memastikan tidak terbatas */
    margin: 0 auto; /* Tinggi tetap untuk landscape */
  }
  
  /* CARD PERTAMA SAJA yang full landscape */
  .anggota-container .anggota-card:first-child {
    height: 150px; /* Sedikit lebih tinggi untuk card pertama */
  }
  
  .anggota-foto {
    width: 140px; /* Lebar foto untuk landscape layout */
    height: 100%; /* Tinggi penuh mengikuti card */
    border-radius: 12px 0 0 12px; /* Sudut kiri atas dan kiri bawah */
    flex-shrink: 0;
  }
  
  .anggota-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .anggota-info {
    padding: 12px;
  }
  
  .info-item {
    padding: 4px 0;
  }
  
  .label {
    min-width: 50px;
    font-size: 0.85rem;
    margin-right: 8px;
  }
  
  .value {
    font-size: 0.85rem;
  }
  
  .anggota-actions {
    width: 80px;
    padding: 12px 8px;
    gap: 6px;
  }
  
  .btn-edit,
  .btn-delete {
    padding: 6px 3px;
    font-size: 0.75rem;
  }
  
  .anggota-container .anggota-card:first-child .anggota-actions {
    padding: 15px 10px;
  }
  
  .anggota-container .anggota-card:first-child .btn-edit,
  .anggota-container .anggota-card:first-child .btn-delete {
    padding: 8px 6px;
    font-size: 0.8rem;
  }
  
  /* MODAL UNTUK HP KECIL */
  .modal-body {
    padding: 15px 20px;
  }
  
  .form-columns {
    gap: 15px;
  }
  
  .form-right .upload-box {
    height: 100px;
  }
  
  .form-right .upload-box i {
    font-size: 1.5rem;
  }
  
  .form-right .modal-actions {
    flex-direction: column;
  }
  
  .form-right .btn-cancel,
  .form-right .btn-save {
    width: 100%;
    max-width: none;
  }
}

/* ==================== EXTRA SMALL MOBILE (max-width: 360px) ==================== */
@media (max-width: 360px) {
  .anggota-card {
    height: 140px;
  }
  
  .anggota-container .anggota-card:first-child {
    height: 150px;
  }
  
  .anggota-foto {
    width: 100px;
  }
  
  .anggota-info {
    padding: 10px;
  }
  
  .label {
    min-width: 45px;
    font-size: 0.8rem;
  }
  
  .value {
    font-size: 0.8rem;
  }
  
  .anggota-actions {
    width: 70px;
    padding: 10px 6px;
  }
  
  .btn-edit,
  .btn-delete {
    font-size: 0.7rem;
    padding: 5px 2px;
  }
  
  .btn-edit i,
  .btn-delete i {
    font-size: 0.8rem;
  }
}

/* ==================== LANDSCAPE ORIENTATION ==================== */
@media (max-width: 768px) and (orientation: landscape) {
  .anggota-card {
    height: 140px; /* Lebih pendek untuk landscape */
  }
  
  .anggota-container .anggota-card:first-child {
    height: 150px;
  }
  
  .anggota-foto {
    width: 120px;
  }
  
  .anggota-info {
    padding: 10px 15px;
  }
  
  .info-item {
    padding: 3px 0;
  }
}