/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #eef2f7, #ffffff);
}

#splash {
  position: fixed;
  inset: 0;
  background: #ffffff;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}.splash-logo {
  width: 90px;
  animation: splashAnim 1.5s ease-in-out forwards;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}
@keyframes splashAnim {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
.app-logo {
  height: 36px;
  width: auto;

  padding: 6px 10px;
  border-radius: 12px;

  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);

  object-fit: contain;
}
.app {
  max-width: 420px;
  margin: auto;
  min-height: 100vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.logo {
  width: 120px;       
  display: block;
  margin: 10px auto;   
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.header .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  padding: 4px;
  object-fit: cover;

  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header .text {
  display: flex;
  flex-direction: column;
}

.title {
  font-size: 16px;
  font-weight: 600;
}

.logo {
  width:  180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.subtitle {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 20px;
  color: #111;
  line-height: 1.3;
}

.tabs {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 5px;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  background: #f1f3f6;
  color: #444;
  font-size: 13px;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
}
.tabs i {
  width: 16px;
  height: 16px;
}
.tabs button:hover {
  transform: scale(1.05);
}
.tabs .active {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: white;
  box-shadow: 0 4px 10px rgba(255, 65, 108, 0.3);
}

.issue {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px;
  margin: 12px 0;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.issue:hover {
  transform: translateY(-2px);
}
.issue strong {
  font-size: 15px;
  color: #222;
}
.issue p {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.status-row {
  margin-top: 8px;
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: 0.2s ease;
}

.status-badge:hover {
  transform: scale(1.05);
}

.pending {
  background: rgba(255, 193, 7, 0.2);
  color: #b8860b;
}

.accepted {
  background: rgba(138, 43, 226, 0.15);
  color: #6a0dad;
}

.completed {
  background: rgba(40, 167, 69, 0.2);
  color: #1e7e34;
}

.fab {
  position: fixed;
  bottom: 25px;
  right: calc(50% - 180px);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  font-size: 28px;
  color: white;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  box-shadow: 0 10px 20px rgba(255, 65, 108, 0.4);
  cursor: pointer;
  transition: 0.3s;
}

.fab:hover {
  transform: scale(1.1);
}

.modal {
  display: none; 
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);

  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 280px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  animation: slideUp 0.3s ease;
}

/* inputs*/
.modal-content input,
.modal-content select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 13px;
}

.modal-content button {
  padding: 8px 12px;
  margin: 5px;
  border-radius: 8px;
  border: none;
  font-size: 13px;
  cursor: pointer;
}

.modal-content button:first-child {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: white;
}

.modal-content button:last-child {
  background: #eee;
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.actions button {
  border: none;
  margin-left: 5px;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.actions button:first-child {
  background: #28a745;
  color: white;
}

.actions button:last-child {
  background: #dc3545;
  color: white;
}

.remark {
  margin-top: 6px;
  font-size: 12px;
  color: #444;
  background: rgba(0,0,0,0.05);
  padding: 6px;
  border-radius: 8px;
}

.admin-panel {
  display: flex;
  gap: 5px;
}

.admin-panel button {
  padding: 4px 8px;
  border-radius: 6px;
  border: none;
  font-size: 11px;
  background: #333;
  color: white;
  cursor: pointer;
}
/* ADMIN */
.admin-trigger {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

#adminBar {
  position: fixed;
  top: 12px;
  right: 12px;
  display: none;

  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);

  border-radius: 20px;
  padding: 6px 12px;

  box-shadow: 0 6px 20px rgba(0,0,0,0.1);

  align-items: center;
  gap: 8px;

  z-index: 999;
}

#adminBar button {
  border: none;
  padding: 4px 8px;
  border-radius: 10px;
  background: #ff416c;
  color: white;
  cursor: pointer;
}
