/*
 * lake-sing-frontend.css
 * Responsive and map UI styles for Lake Sing Event Manager
 * Version: 1.0.0
 * Author: Lake Sing Dev Team
 */

.lakesing-frontend {
  font-family: Arial, sans-serif;
  color: #222;
}

.lakesing-map {
  width: 100%;
  height: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1em;
}

.lakesing-spot-list {
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1em;
  max-width: 320px;
  margin-bottom: 1em;
}

.lakesing-spot-list h2 {
  margin-top: 0;
}

.lakesing-spot-item {
  padding: 0.5em 0.75em;
  margin-bottom: 0.25em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.lakesing-spot-item.available {
  background: #eaffea;
  color: #2ecc40;
  border-left: 4px solid #2ecc40;
}
.lakesing-spot-item.unavailable {
  background: #ffeaea;
  color: #ff4136;
  border-left: 4px solid #ff4136;
  cursor: not-allowed;
  opacity: 0.7;
}
.lakesing-spot-item:hover.available {
  background: #d4f5d4;
}

.lakesing-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.lakesing-modal-content {
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  position: relative;
}
.lakesing-modal-close {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #888;
  cursor: pointer;
}

.lakesing-form-group {
  margin-bottom: 1em;
}
.lakesing-form-group label {
  display: block;
  margin-bottom: 0.25em;
  font-weight: bold;
}
.lakesing-form-group input {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

#lakesing-form-submit {
  background: #2ecc40;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.75em 1.5em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}
#lakesing-form-submit:hover {
  background: #27ae38;
}

.lakesing-form-status {
  margin-top: 0.5em;
  color: #ff4136;
  font-weight: bold;
}
.lakesing-form-status.error {
  color: #ff4136;
}

.lakesing-confirmation {
  background: #eaffea;
  color: #2ecc40;
  border: 1px solid #2ecc40;
  border-radius: 4px;
  padding: 1em;
  margin-top: 1em;
  font-weight: bold;
  display: none;
}
.lakesing-confirmation.error {
  background: #ffeaea;
  color: #ff4136;
  border-color: #ff4136;
}

.lakesing-input-error {
  border-color: #ff4136 !important;
  background: #fff6f6;
}

@media (max-width: 700px) {
  .lakesing-map {
    height: 250px;
  }
  .lakesing-modal-content {
    min-width: 90vw;
    padding: 1em;
  }
  .lakesing-spot-list {
    max-width: 100%;
    padding: 0.5em;
  }
}
