 /* model/styleevent.css - Styling untuk halaman Event dan Input Event */

/* ==================== BASE STYLES ==================== */
.event-page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==================== EVENT HEADER BANNER ==================== */
.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;
}

/* ==================== EVENT LIST STYLES ==================== */
.event-list-section {
  flex: 1;
  padding: 40px 20px;
  background-color: #f8f9fa;
}

.event-list-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.event-cards-container {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-card {
  background: white;
  padding: 0;
  margin: 0;
  position: relative;
}

.event-header {
  margin-bottom: 25px;
  padding: 0;
  text-align: left;
}

.event-title {
  color: #000000;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
  text-align: left;
  background: none;
  border: none;
  text-shadow: none;
  line-height: 1.3;
}

.event-content {
  display: flex;
  gap: 35px;
  align-items: flex-start;
  margin-bottom: 40px;
  min-height: 200px;
}

.event-card-left {
  flex: 0 0 320px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.event-image-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  background: #f8f9fa;
}

.image-wrapper {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #f8f9fa;
  min-height: 200px;
  max-height: 400px;
  overflow: hidden;
}

.event-card-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  background: white;
}

.event-card-image:hover {
  transform: scale(1.03);
}

.image-wrapper.landscape .event-card-image {
  object-fit: contain;
  max-height: 300px;
}

.image-wrapper.portrait .event-card-image {
  object-fit: contain;
  max-height: 400px;
}

.image-wrapper.square .event-card-image {
  object-fit: contain;
  max-height: 320px;
}

.event-card-no-image {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #6c757d;
  border: 2px dashed #dee2e6;
  padding: 20px;
}

.event-card-no-image i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  opacity: 0.5;
}

.event-card-no-image span {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.event-card-right {
  flex: 1;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.event-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.event-dates {
  margin-bottom: 0;
  flex-shrink: 0;
}

.date-item {
  display: flex;
  align-items: center;
  margin-bottom: 1px;
  padding: 10px 0;
}

.date-label {
  font-weight: 500;
  color: #000000;
  font-size: 1.05rem;
  min-width: 0px;
  margin-right: 20px;
  flex-shrink: 0;
}

.date-value {
  color: #000000;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0px 0px;
  border-radius: 25px;
  flex-shrink: 0;
}

.event-description {
  flex: 1;
  min-height: 60px;
  display: flex;
  flex-direction: column;
}

.description-content {
  flex: 1;
  padding: 5px 0;
}

.description-content p {
  margin: 0;
  color: #2e2e2e;
  line-height: 1.7;
  font-size: 1.05rem;
  text-align: justify;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-weight: 500;
}

.event-divider {
  height: 2px;
  background: linear-gradient(90deg, #2e2e2e);
  margin: 50px 0;
  opacity: 10;
  width: 100%;
}

.no-events-message {
  text-align: center;
  padding: 80px 40px;
  color: #7f8c8d;
  background: white;
  border-radius: 12px;
  border: 2px dashed #dee2e6;
}

.no-event-icon {
  font-size: 4rem;
  color: #bdc3c7;
  margin-bottom: 20px;
  display: block;
}

.no-events-message h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: 600;
}

.no-events-message p {
  color: #7f8c8d;
  font-size: 1.1rem;
  margin: 0;
}

/* ==================== FORM INPUT EVENT STYLES ==================== */
/* ===== FORM INPUT EVENT STYLES (Seperti Input Anggota) ===== */
.event-form-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-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #000;
  font-size: 0.9rem;
}

input[type="text"],
input[type="date"],
textarea {
  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;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="date"]:focus,
textarea:focus {
  border-color: #b60000;
}

input[type="text"]::placeholder,
textarea::placeholder {
  color: #999;
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Upload box untuk foto event */
.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;
}

/* ID Event field */
.id-field {
  background-color: #f5f5f5;
  font-weight: bold;
  color: #b60000;
}

/* ===== TOMBOL STYLES BARU ===== */
.form-actions {
   display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 25px;
}

.btn-submit,
.btn-cancel {
 display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  border: 2px solid #000;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover,
.btn-cancel:hover {
  background-color: #b60000;
  color: #fff;
  border-color: #b60000;
}

/* File info */
.file-info {
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
  text-align: center;
}

/* Messages */
.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) {
  .event-form-section {
    padding: 40px 15px;
  }
  
  .form-container {
    padding: 30px 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn-submit,
  .btn-cancel {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 20px 15px;
  }
  
  .upload-box {
    height: 120px;
  }
  
  .upload-box i {
    font-size: 2rem;
  }
}
/* ==================== EVENT ACTIONS STYLES - 1 BARIS ==================== */
.event-actions-single-row {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
  padding: 12px 24px;
  width: 100%;
}

.event-actions-single-row .btn-edit,
.event-actions-single-row .btn-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  border: 2px solid #000;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.event-actions-single-row .btn-edit {
   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;
}

.event-actions-single-row .btn-edit:hover {
  font-weight: 700;
 background-color: #b60000;
  color: #fff;
  border-color: #b60000;
  transform: translateY(-2px);  
}

.event-actions-single-row .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;
}

.event-actions-single-row .btn-delete:hover {
  font-weight: 700;
 background-color: #b60000;
  color: #fff;
  border-color: #b60000;
  transform: translateY(-2px);  
}

.event-actions-single-row .btn-edit i,
.event-actions-single-row .btn-delete i {
  font-size: 0.9rem;
}

/* Responsive Design untuk Event Actions 1 Baris */
@media (max-width: 768px) {
  .event-actions-single-row {
    flex-direction: row;
    gap: 8px;
  }
  
  .event-actions-single-row .btn-edit,
  .event-actions-single-row .btn-delete {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .event-actions-single-row {
    flex-direction: column;
    gap: 8px;
  }
  
  .event-actions-single-row .btn-edit,
  .event-actions-single-row .btn-delete {
    width: 100%;
    padding: 12px;
  }
}
/* ==================== MODAL STYLES - PERBAIKAN LAYOUT ==================== */
.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: 10px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.modal-header {
  background: #ffffff;
  color: rgb(0, 0, 0);
  padding: 15px 25px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.close {
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ffcccc;
}

.modal-body {
  padding: 20px 25px;
}

/* ==================== FORM COLUMNS LAYOUT - PERBAIKAN ==================== */
.form-columns {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.form-left {
  flex: 1;
  min-width: 0; /* Prevent overflow */
}

.form-right {
  width: 220px;
  flex-shrink: 0;
}

/* ==================== FORM GROUP - PERBAIKAN ==================== */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus {
  border-color: #b60000;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.4;
}

/* ID Field khusus */
.id-field {
  background-color: #f8f9fa;
  color: #666;
  font-weight: 600;
  cursor: not-allowed;
}

/* ==================== FOTO UPLOAD - PERBAIKAN ==================== */
.foto-upload {
  margin-top: 5px;
}

.upload-box {
  width: 100%;
  height: 120px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #888;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  background-color: #f9f9f9;
}

.upload-box:hover {
  border-color: #b60000;
  color: #b60000;
  background-color: #f0f0f0;
}

.upload-box i {
  font-size: 2rem;
  margin-bottom: 6px;
}

.upload-box p {
  margin: 0;
  font-size: 0.85rem;
  text-align: center;
}

.file-info {
  font-size: 0.75rem;
  color: #666;
  text-align: center;
  margin-bottom: 8px;
}

/* Preview image */
.preview-container {
  width: 100%;
  text-align: center;
  margin: 8px 0;
}

.preview-container img {
  max-width: 100%;
  max-height: 120px;
  border-radius: 6px;
  border: 1px solid #ddd;
  object-fit: contain;
}

/* Current image info */
.current-image-info {
  background: #e9ecef;
  padding: 8px 10px;
  border-radius: 5px;
  margin-top: 8px;
  font-size: 0.8rem;
  display: none;
}

.current-image-info i {
  margin-right: 6px;
  color: #6c757d;
}

/* ==================== FORM ACTIONS - PERBAIKAN ==================== */
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn-submit,
.btn-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-decoration: none;
}

.btn-submit {
  background: #b60000;
  color: white;
  border-color: #b60000;
}

.btn-submit:hover {
  background: #990000;
  border-color: #990000;
  transform: translateY(-1px);
}

.btn-cancel {
  background: transparent;
  color: #666;
  border-color: #666;
}

.btn-cancel:hover {
  background: #666;
  color: white;
}

/* ==================== DELETE CONFIRMATION STYLES ==================== */
.delete-confirmation {
  text-align: center;
  padding: 10px 0;
}

.delete-confirmation p {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 15px;
  color: #2e2e2e;
}

.event-to-delete {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.event-to-delete strong {
  color: #000000;
  font-size: 1rem;
}

.delete-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.btn-batal-confirm,
.btn-delete-confirm {
 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-batal-confirm:hover,
.btn-delete-confirm:hover {
  font-weight: 700;
   background-color: #b60000;
  color: #fff;
  border-color: #b60000;
  transform: translateY(-2px);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .modal-content {
    margin: 5% auto;
    width: 95%;
    max-height: 95vh;
  }
  
  .form-columns {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-right {
    width: 100%;
  }
  
  .upload-box {
    height: 100px;
  }
  
  .upload-box i {
    font-size: 1.8rem;
  }
  
  .delete-actions {
    flex-direction: column;
  }
  
  .btn-delete-confirm,
  .btn-cancel {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .modal-body {
    padding: 15px 20px;
  }
  
  .modal-header {
    padding: 12px 20px;
  }
  
  .modal-header h2 {
    font-size: 1.2rem;
  }
  
  .close {
    font-size: 20px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design untuk Modal */
@media (max-width: 768px) {
  .form-columns {
    flex-direction: column;
  }
  
  .form-right {
    width: 100%;
  }
  
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
  
  .delete-actions {
    flex-direction: column;
  }
  
  .btn-delete-confirm,
  .btn-cancel {
    width: 100%;
  }
}
/* ==================== TOMBOL FORM INPUT EVENT - SEBELAH KIRI KANAN ==================== */
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
}

.btn-submit,
.btn-cancel {
   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-submit:hover,
.btn-cancel:hover {
  font-weight: 700;
  background-color: #b60000;
  color: #fff;
  border-color: #b60000;
  transform: translateY(-2px);
}

.btn-submit:active,
.btn-cancel:active {
  transform: translateY(0);
}

.btn-submit i,
.btn-cancel i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-submit:hover i,
.btn-cancel:hover i {
  transform: scale(1.1);
}
/* ===================== BUTTON INPUTEVENT ===================== */

.inputevent-buttons {
    display: flex;
    justify-content: flex-end; /* ubah dari center ke kanan */
    gap: 20px;
    margin-top: 15px;
    width: 100%;
}

.inputevent-buttons a,
.inputevent-buttons button {
    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;
}

.inputevent-buttons a:hover,
.inputevent-buttons button:hover {
  font-weight: 700;
    background-color: #b60000;
  color: #fff;
  border-color: #b60000;
  transform: translateY(-2px);
}
/* ==================== MOBILE RESPONSIVE STYLES ==================== */
@media (max-width: 768px) {
  /* Event Header Banner Mobile */
  .event-header-banner {
    padding: 0;
  }
  
  .banner-content {
    padding: 8px 0;
  }
  
  .event-text {
    font-size: 2.2rem;
    letter-spacing: 2px;
    padding: 0 10px;
  }
  
  /* Event List Section Mobile */
  .event-list-section {
    padding: 20px 10px;
  }
  
  .event-list-container {
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  }
  
  .event-cards-container {
    padding: 20px 15px;
    gap: 0;
  }
  
  /* Event Card Mobile */
  .event-card {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .event-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .event-header {
    margin-bottom: 15px;
  }
  
  .event-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
  }
  
  /* Event Content Mobile - Stack Vertikal */
  .event-content {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .event-card-left,
  .event-card-right {
    flex: none;
    width: 100%;
    min-height: auto;
  }
  
  /* Event Image Mobile */
  .event-image-container {
    max-width: 100%;
    margin: 0 auto 15px;
  }
  
  .image-wrapper {
    min-height: 180px;
    max-height: 300px;
  }
  
  .event-card-image {
    max-height: 280px;
  }
  
  /* Event Info Mobile */
  .event-info {
    gap: 15px;
  }
  
  .event-dates {
    text-align: center;
    margin-bottom: 5px;
  }
  
  .date-item {
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
  }
  
  .date-label {
    min-width: auto;
    margin-right: 10px;
    margin-bottom: 0px;
    font-size: 1rem;
  }
  
  .date-value {
    font-size: 1rem;
    padding: 3px 15px;
  }
  
  /* Event Description Mobile */
  .event-description {
    min-height: auto;
  }
  
  .description-content {
    padding: 0;
  }
  
  .description-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
    padding: 0 5px;
  }
  
  /* Event Actions Mobile */
  .event-actions-single-row {
    flex-direction: row;
    justify-content: center;
    padding: 10px 0;
    margin-top: 15px;
  }
  
  .event-actions-single-row .btn-edit,
  .event-actions-single-row .btn-delete {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  /* Event Divider Mobile */
  .event-divider {
    margin: 30px 0;
    height: 1px;
    background: #e0e0e0;
  }
  
  /* No Events Message Mobile */
  .no-events-message {
    padding: 50px 20px;
  }
  
  .no-event-icon {
    font-size: 3rem;
  }
  
  .no-events-message h3 {
    font-size: 1.4rem;
  }
  
  .no-events-message p {
    font-size: 1rem;
  }
  
  /* Modal Mobile Styles */
  .modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 85vh;
  }
  
  .modal-header {
    padding: 12px 15px;
  }
  
  .modal-header h2 {
    font-size: 1.2rem;
  }
  
  .modal-body {
    padding: 15px;
  }
  
  .form-columns {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-right {
    width: 100%;
  }
  
  /* Form Inputs Mobile */
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }
  
  .form-group input[type="text"],
  .form-group input[type="date"],
  .form-group textarea {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .form-group textarea {
    min-height: 100px;
  }
  
  /* Foto Upload Mobile */
  .upload-box {
    height: 100px;
  }
  
  .upload-box i {
    font-size: 1.8rem;
    margin-bottom: 5px;
  }
  
  .upload-box p {
    font-size: 0.8rem;
  }
  
  .file-info {
    font-size: 0.75rem;
  }
  
  /* Preview Image Mobile */
  .preview-container img {
    max-height: 100px;
  }
  
  /* Form Actions Mobile */
  .form-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  
  .btn-submit,
  .btn-cancel {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
  }
  
  /* Delete Confirmation Mobile */
  .delete-confirmation p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  
  .event-to-delete {
    padding: 10px;
    margin-bottom: 15px;
  }
  
  .event-to-delete strong {
    font-size: 0.95rem;
  }
  
  .delete-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }
  
  .btn-delete-confirm,
  .btn-batal-confirm {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
  }
}

/* ==================== SMALL MOBILE STYLES (max-width: 480px) ==================== */
@media (max-width: 480px) {
  .event-text {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  
  .event-list-section {
    padding: 15px 8px;
  }
  
  .event-cards-container {
    padding: 15px 10px;
  }
  
  .event-title {
    font-size: 1.2rem;
  }
  
  .image-wrapper {
    min-height: 150px;
  }
  
  .event-card-image {
    max-height: 220px;
  }
  
  .date-label,
  .date-value {
    font-size: 0.95rem;
  }
  
  .description-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .event-actions-single-row {
    flex-direction: column;
    gap: 8px;
  }
  
  .event-actions-single-row .btn-edit,
  .event-actions-single-row .btn-delete {
    width: 100%;
    padding: 12px;
  }
  
  /* Modal Extra Small */
  .modal-content {
    width: 98%;
    margin: 5% auto;
    max-height: 90vh;
  }
  
  .modal-header {
    padding: 10px 15px;
  }
  
  .modal-header h2 {
    font-size: 1.1rem;
  }
  
  .modal-body {
    padding: 12px 15px;
  }
  
  .upload-box {
    height: 90px;
  }
  
  .upload-box i {
    font-size: 1.5rem;
  }
  
  .upload-box p {
    font-size: 0.75rem;
  }
}

/* ==================== VERY SMALL MOBILE STYLES (max-width: 360px) ==================== */
@media (max-width: 360px) {
  .event-text {
    font-size: 1.5rem;
  }
  
  .event-title {
    font-size: 1.1rem;
  }
  
  .image-wrapper {
    min-height: 130px;
  }
  
  .date-label,
  .date-value {
    font-size: 0.9rem;
  }
  
  .description-content p {
    font-size: 0.85rem;
  }
  
  .event-actions-single-row .btn-edit,
  .event-actions-single-row .btn-delete {
    font-size: 0.85rem;
    padding: 10px;
  }
  
  .modal-header {
    padding: 8px 12px;
  }
  
  .modal-header h2 {
    font-size: 1rem;
  }
  
  .close {
    font-size: 18px;
  }
  
  .btn-submit,
  .btn-cancel,
  .btn-delete-confirm,
  .btn-batal-confirm {
    padding: 10px;
    font-size: 0.9rem;
  }
}

/* ==================== TOUCH FRIENDLY STYLES ==================== */
@media (hover: none) and (pointer: coarse) {
  .event-card-image:hover {
    transform: none;
  }
  
  .event-actions-single-row .btn-edit:hover,
  .event-actions-single-row .btn-delete:hover,
  .btn-submit:hover,
  .btn-cancel:hover,
  .btn-delete-confirm:hover,
  .btn-batal-confirm:hover {
    transform: none;
  }
  
  .event-actions-single-row .btn-edit:active,
  .event-actions-single-row .btn-delete:active,
  .btn-submit:active,
  .btn-cancel:active,
  .btn-delete-confirm:active,
  .btn-batal-confirm:active {
    transform: scale(0.98);
  }
}

/* ==================== LANDSCAPE ORIENTATION ==================== */
@media (max-width: 768px) and (orientation: landscape) {
  .event-content {
    flex-direction: row;
    gap: 15px;
  }
  
  .event-card-left {
    flex: 0 0 45%;
  }
  
  .event-card-right {
    flex: 1;
  }
  
  .image-wrapper {
    min-height: 150px;
    max-height: 200px;
  }
  
  .modal-content {
    max-height: 80vh;
  }
}