/* ============================================
   Auth System - Laguna Blanca
   ============================================ */

/* --- Admin Button: Desktop Nav --- */
.item-admin {
  float: left;
  display: inline-block;
}

.item-admin > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 100%;
  color: #333;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.item-admin > a:hover {
  background: #FE0013;
  color: #fff;
}

.item-admin > a svg {
  stroke: currentColor;
}

/* --- Admin Button: Sidr Mobile Menu --- */
.sidr-class-item-admin a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  color: #fff;
  background: #FE0013;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  text-decoration: none;
}

.sidr-class-item-admin a:hover {
  background: #d40010;
}

.sidr-class-item-admin a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* --- Login Modal --- */
.auth-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.auth-modal-overlay.active {
  display: flex;
}

.auth-modal {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  width: 380px;
  max-width: 90vw;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.auth-modal-close:hover {
  color: #333;
}

.auth-modal-title {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin: 0 0 24px;
  text-align: center;
}

.auth-field {
  margin-bottom: 16px;
}

.auth-field label {
  display: block;
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.auth-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.auth-field input:focus {
  outline: none;
  border-color: #FE0013;
}

.auth-error {
  color: #FE0013;
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  margin-bottom: 12px;
  min-height: 18px;
}

.auth-submit {
  width: 100%;
  padding: 12px;
  background: #FE0013;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.auth-submit:hover {
  background: #d40010;
}

.auth-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* --- Mobile: Fullscreen Modal --- */
@media screen and (max-width: 720px) {
  .auth-modal {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
  }
}

/* --- Admin Page --- */
.admin-header {
  background: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-header img {
  height: 50px;
}

.admin-logout {
  padding: 8px 20px;
  background: #FE0013;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.admin-logout:hover {
  background: #d40010;
}

.admin-body {
  background: #f5f5f5;
  min-height: calc(100vh - 80px);
  padding: 40px 20px;
}

.admin-content {
  max-width: 1200px;
  margin: 0 auto;
}

.admin-welcome {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px;
}

.admin-subtitle {
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  color: #999;
  margin: 0;
}
