body {
  background: #f7f9fb;
}

.ticket_container {
    display: flex;
    gap: 16px;
    padding: 16px;
}


.panel {
    flex: 1;
    background: #5f7187;
    border-radius: 6px;
    padding: 12px;
    color: #fff;
    height: 520px;
    display: flex;
    flex-direction: column;
}


.panel h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #ffc107;
    display: inline-block;
    padding-bottom: 4px;
}


.list {
    overflow-y: auto;
    padding-right: 6px;
}


.list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}


.list-item input {
    transform: scale(1.1);
}


.box {
    background: #fff;
    color: #000;
    padding: 8px 10px;
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
}


.to-visit {
    flex: 1;
    background: rgba(95,113,135,0.9);
    border-radius: 6px;
    padding: 12px;
    color: #fff;
    position: relative;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/d/da/Meenakshi_Amman_Temple_Tower.jpg');
    background-size: cover;
    background-position: center;
}





.visit-card {
  background: #000000;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.visit-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.visit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.visit-row label {
  min-width: 85px;
  font-size: 13px;
}

.visit-row input,
.visit-row select {
  flex: 1;
}

.req {
    color: red;
}






.proceed-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  background: #ffffff;
  color: #000;
  pointer-events: auto;   /* 🔑 IMPORTANT */
  position: relative;
  z-index: 10;            /* 🔑 IMPORTANT */
}

.proceed-btn:disabled {
  background: #e0e0e0;
  color: #777;
  cursor: not-allowed;
  pointer-events: none;
}

.proceed-btn.enabled {
  background: #ffffff;
  color: #000;
  cursor: pointer;
  pointer-events: auto;   /* 🔑 IMPORTANT */
}






/* Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;            /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

/* Modal box */
.modal-box {
  background: #fff;
  width: 420px;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  animation: popup 0.25s ease;
}

.modal-box h3 {
  margin-bottom: 10px;
}

.modal-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn-cancel {
  flex: 1;
  padding: 10px;
  border: none;
  background: #ccc;
  cursor: pointer;
  border-radius: 4px;
}

.btn-confirm {
  flex: 1;
  padding: 10px;
  border: none;
  background: #0d6efd;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

@keyframes popup {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}