:root
{
   --green-deep: #102a1f;
   --green: #2f5f43;
   --green-soft: #6f8f5f;
   --cream: #f7f1e4;
   --sand: #d9c59f;
   --gravel: #bba982;
   --water: #163f44;
   --ink: #1e241d;
   --muted: #65705f;
   --white: #fffdf7;
   --shadow: 0 18px 45px rgba(13, 25, 18, 0.18);
}

*
{
   box-sizing: border-box;
}

body
{
   margin: 0;
   font-family: Georgia, 'Times New Roman', serif;
   color: var(--ink);
   background:
      linear-gradient(rgba(16, 42, 31, 0.06), rgba(16, 42, 31, 0.06)),
      var(--cream);
}

a
{
   color: inherit;
}

.page-shell
{
   width: min(1500px, calc(100% - 28px));
   margin: 0 auto;
}

.hero
{
   margin: 18px 0 14px;
   padding: 34px 28px;
   color: var(--white);
   border-radius: 24px;
   background:
      linear-gradient(135deg, rgba(16, 42, 31, 0.92), rgba(22, 63, 68, 0.86)),
      radial-gradient(circle at top left, rgba(217, 197, 159, 0.34), transparent 38%);
   box-shadow: var(--shadow);
   overflow: hidden;
}

.hero-copy
{
   max-width: 900px;
}

.eyebrow
{
   margin: 0 0 8px;
   color: var(--sand);
   font-family: Arial, Helvetica, sans-serif;
   font-size: 12px;
   font-weight: 700;
   letter-spacing: 0.16em;
   text-transform: uppercase;
}

.hero h1
{
   margin: 0;
   font-size: clamp(36px, 5vw, 72px);
   line-height: 0.95;
   letter-spacing: -0.04em;
}

.slogan
{
   max-width: 720px;
   margin: 14px 0 0;
   color: #efe5cf;
   font-size: clamp(17px, 2vw, 24px);
   line-height: 1.45;
}

.core-layout
{
   display: grid;
   grid-template-columns: minmax(0, 2.6fr) minmax(320px, 0.9fr);
   gap: 18px;
   align-items: start;
}

.map-panel,
.info-panel,
.content-section
{
   border: 1px solid rgba(47, 95, 67, 0.18);
   border-radius: 24px;
   background: rgba(255, 253, 247, 0.84);
   box-shadow: var(--shadow);
}

.map-panel
{
   padding: 18px;
}

.section-heading
{
   max-width: 820px;
   margin-bottom: 14px;
}

.section-heading h2,
.info-card h2,
.content-section h2
{
   margin: 0;
   color: var(--green-deep);
   font-size: clamp(27px, 3vw, 42px);
   line-height: 1.05;
}

.section-heading p,
.info-card p,
.content-section p
{
   color: var(--muted);
   font-size: 16px;
   line-height: 1.6;
}

.map-card
{
   padding: 10px;
   border-radius: 22px;
   background: linear-gradient(145deg, #f9f4e9, #dcc9a6);
   border: 1px solid rgba(88, 69, 42, 0.22);
}

.map-wrapper
{
   position: relative;
   width: 100%;
   overflow: hidden;
   border-radius: 18px;
   background: #66734f;
   box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.base-map
{
   display: block;
   width: 100%;
   height: auto;
}

.lot-layer
{
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
}

.lot-sprite
{
   position: absolute;
   display: block;
   transform: translate(-50%, -50%) rotate(var(--lot-rotation)); 
   /* transform: rotate(var(--lot-rotation)) scale(1); */
   transform-origin: center center;
   border-radius: 10px;
   cursor: pointer;
   text-decoration: none;
   transition: filter 160ms ease, opacity 160ms ease, outline-color 160ms ease;
}

/*
.lot-sprite:hover
{
   transform: rotate(var(--lot-rotation)) scale(1.00);
   z-index: 50;
}
*/ 

.lot-sprite img
{
   display: block;
   width: 100%;
   height: 100%;
   object-fit: contain;
   pointer-events: none;
   user-select: none;
}

.lot-sprite:hover,
.lot-sprite:focus
{
   filter: brightness(1.12) drop-shadow(0 0 8px rgba(255, 246, 179, 0.72));
   outline: 2px solid rgba(255, 246, 179, 0.95);
   outline-offset: 2px;
   z-index: 10;
}

.lot-sprite.available
{
   filter: drop-shadow(0 0 0 rgba(69, 162, 82, 0));
}

.lot-sprite.reserved
{
   filter: sepia(0.22) saturate(1.25) drop-shadow(0 0 5px rgba(217, 166, 64, 0.6));
}

.lot-sprite.occupied
{
   filter: sepia(0.35) saturate(1.35) brightness(0.86) drop-shadow(0 0 5px rgba(154, 72, 58, 0.65));
}

.lot-number
{
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   min-width: 1.65em;
   padding: 1px 4px;
   border-radius: 999px;
   color: #ffffff;
   background: rgba(16, 42, 31, 0.68);
   font-family: Arial, Helvetica, sans-serif;
   /* font-size: clamp(8px, 0.85vw, 13px); */   /* original */
   font-size: clamp(12px, 0.85vw, 18px);
   font-size: 16px !important;
   font-weight: 700;
   line-height: 1.25;
   text-align: center;
   text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
   pointer-events: none;
}

.legend
{
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 12px;
   color: var(--muted);
   font-family: Arial, Helvetica, sans-serif;
   font-size: 14px;
}

.legend span
{
   display: inline-flex;
   gap: 7px;
   align-items: center;
   padding: 7px 10px;
   border-radius: 999px;
   background: rgba(16, 42, 31, 0.06);
}

.legend-dot
{
   display: inline-block;
   width: 12px;
   height: 12px;
   border-radius: 50%;
   border: 1px solid rgba(16, 42, 31, 0.2);
}

.legend-dot.available
{
   background: #45a252;
}

.legend-dot.reserved
{
   background: #d9a640;
}

.legend-dot.occupied
{
   /* background: #9a483a; */ 
   background: #e67e22;   /* Orange */
}


.lot-status-pane
{
   border-radius: 10px;
}

.info-panel
{
   display: grid;
   gap: 14px;
   padding: 14px;
   position: sticky;
   top: 16px;
}

.info-card
{
   padding: 20px;
   border-radius: 20px;
   background: linear-gradient(180deg, #fffdf7, #f0e7d5);
   border: 1px solid rgba(47, 95, 67, 0.14);
}

.intro-card
{
   background:
      linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(239, 231, 213, 0.96)),
      radial-gradient(circle at top right, rgba(111, 143, 95, 0.22), transparent 42%);
}

.info-card h3
{
   margin: 0 0 10px;
   color: var(--green-deep);
   font-size: 22px;
}

.feature-list
{
   margin: 0;
   padding-left: 18px;
   color: var(--muted);
   line-height: 1.7;
}

.status-card
{
   border-color: rgba(22, 63, 68, 0.22);
}

/*
.lot-sprite.management
{
   filter: sepia(0.15)
           saturate(1.20)
           hue-rotate(110deg)
           brightness(1.05);
           
           
}
*/

.lot-sprite.management
{
   /* filter: drop-shadow(0 0 6px rgba(70, 120, 255, 0.80)); */    
   filter: drop-shadow(0 0 6px rgba(77, 121, 255, 0.85));
}

.legend-dot.management
{
   background: #4d79ff;  
}

.content-section
{
   margin: 18px 0;
   padding: 26px;
}

.centered
{
   margin-inline: auto;
   text-align: center;
}

.media-grid
{
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 14px;
   margin-top: 20px;
}

.media-box
{
   min-height: 150px;
   padding: 22px;
   border-radius: 20px;
   color: var(--white);
   background:
      linear-gradient(135deg, rgba(16, 42, 31, 0.92), rgba(47, 95, 67, 0.86));
   box-shadow: 0 12px 28px rgba(16, 42, 31, 0.16);
}

.media-box h3
{
   margin: 0 0 10px;
   font-size: 22px;
}

.media-box p
{
   margin: 0;
   color: #efe5cf;
}

.footer
{
   background: #015;
   color: white;
   text-align: center;
   padding: 20px;
}

.footer-links a
{
   color: #aaa;
   margin: 0 5px;
   text-decoration: none;
}

@media (max-width: 1040px)
{
   .core-layout
   {
      grid-template-columns: 1fr;
   }

   .info-panel
   {
      position: static;
      grid-template-columns: repeat(3, 1fr);
   }
}

@media (max-width: 760px)
{
   .page-shell
   {
      width: min(100% - 18px, 1500px);
   }

   .hero,
   .map-panel,
   .content-section
   {
      border-radius: 18px;
   }

   .info-panel,
   .media-grid
   {
      grid-template-columns: 1fr;
   }

   .map-panel
   {
      padding: 10px;
   }
}


/* ////////////////////// Glass Tint - Lot Status ///////////////////////////////////// */

.lot-status-pane
{
   position: absolute;
   inset: 0;
   border-radius: 10px;
   pointer-events: none;
   opacity: 0.42;
   mix-blend-mode: multiply;
}

.lot-sprite.available .lot-status-pane
{
   background: #2ecc71;
}

.lot-sprite.reserved .lot-status-pane,
.lot-sprite.unavailable .lot-status-pane
{
   background: #f1c40f;
}

.lot-sprite.occupied .lot-status-pane
{
   background: #e67e22;
}

.lot-sprite.management .lot-status-pane
{
   background: #3498db;
}

.lot-sprite:hover .lot-status-pane
{
   opacity: 0.62;
}



/* ///////////////   ADMIN AREA   ////////////////////////// */


.admin-body
{
   background: #1f2d24;
}

/*
.admin-lot-row
{
   display: grid;
   grid-template-columns: 120px 1fr 120px;
   gap: 14px;
   align-items: center;
   margin-bottom: 12px;
   padding: 14px;
   border-radius: 14px;
   background: #1f2d24;
   color: #ffffff;
}
*/

.admin-lot-row
{
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 10px;
   padding: 10px;
   background: #1f2d24;
   border-radius: 10px;
}

.admin-lot-id
{
   width: 100px;
   font-size: 22px;
   font-weight: bold;
   color: white;
}

.admin-status-select
{
   width: 180px;
   min-width: 180px;
   max-width: 180px;

   padding: 8px;
   font-size: 18px;
   font-weight: bold;

   color: white;
   background: #102a1f;

   border: 2px solid #6f8f5f;
   border-radius: 8px;
}



/*
.admin-save-button
{
   padding: 12px 16px;
   font-size: 18px;
   font-weight: bold;
   color: #102a1f;
   background: #d9c59f;
   border: none;
   border-radius: 10px;
   cursor: pointer;
}
*/



.admin-save-button
{
   width: 100px;

   padding: 8px;
   font-size: 18px;
   font-weight: bold;

   cursor: pointer;
}

.admin-save-button:hover
{
   background: #f7f1e4;
}



.admin-container
{
   max-width: 900px;
   margin: 0 auto;
}

.admin-lot-row
{
   display: flex;
   align-items: center;
   gap: 12px;

   margin-bottom: 12px;
   padding: 14px;

   background: linear-gradient(
      180deg,
      #223629,
      #18271d
   );

   border: 1px solid #4f6b4f;
   border-radius: 12px;

   box-shadow: 0 2px 8px rgba(0,0,0,0.30);
}

.admin-lot-id
{
   width: 120px;

   color: #f5e7c2;

   font-size: 22px;
   font-weight: bold;
}

.admin-status-select
{
   width: 180px;

   padding: 8px;

   background: #2f4533;
   color: #ffffff;

   border: 1px solid #7c8f67;
   border-radius: 8px;

   font-size: 18px;
   font-weight: bold;
}

.admin-save-button
{
   padding: 8px 18px;

   background: #8a6b3f;
   color: white;

   border: none;
   border-radius: 8px;

   font-size: 18px;
   font-weight: bold;

   cursor: pointer;
}

.admin-save-button:hover
{
   background: #a3814d;
}



.admin-page
{
   background: #162019;
}

.admin-page .content-section
{
   background: #1d2a21;
   border: 1px solid #3d5440;
   color: #e7e0c8;
}

.admin-page .hero
{
   background:
      linear-gradient(
         135deg,
         #1b2b20,
         #284033
      );
}

.admin-page .hero h1
{
   color: #f3e7c2;
}

.admin-page .slogan
{
   color: #cfc6ab;
}

.admin-page a
{
   color: #d8c089;
}


.admin-page .page-shell
{
   background: transparent;
}

.admin-page .admin-container
{
   background: #1d2a21;
}





/* Login, user management, and lot detail additions */
.admin-nav 
{
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 22px;
}

.admin-nav a,
.lot-actions a 
{
   display: inline-block;
   padding: 10px 14px;
   border-radius: 10px;
   background: rgba(255, 255, 255, 0.10);
   color: #f8f4ea;
   text-decoration: none;
   border: 1px solid rgba(255, 255, 255, 0.18);
}

.admin-nav a:hover,
.lot-actions a:hover 
{
   background: rgba(255, 255, 255, 0.18);
}

.admin-user-line 
{
   margin-top: 10px;
   opacity: 0.9;
}

.login-container 
{
   max-width: 520px;
   margin: 40px auto;
}

.admin-form 
{
   display: grid;
   gap: 10px;
}

.admin-form label 
{
   font-weight: 700;
}

.admin-form input,
.admin-form select,
.inline-admin-form input,
.inline-admin-form select 
{
   width: 100%;
   padding: 10px 12px;
   border-radius: 9px;
   border: 1px solid rgba(255, 255, 255, 0.24);
   background: rgba(255, 255, 255, 0.92);
   color: #17212b;
}

.grid-form 
{
   grid-template-columns: 160px minmax(220px, 1fr);
   align-items: center;
}

.grid-form button 
{
   grid-column: 2;
}

.full-width {
   width: 100%;
}

.login-help 
{
   margin-top: 20px;
   padding: 14px;
   border-radius: 12px;
   background: rgba(0, 0, 0, 0.18);
}

.login-help p 
{
   margin: 4px 0;
}

.admin-message 
{
   padding: 12px 14px;
   border-radius: 10px;
   margin-bottom: 18px;
   font-weight: 700;
}

.admin-message.success 
{
   background: rgba(46, 160, 67, 0.20);
   border: 1px solid rgba(46, 160, 67, 0.45);
}

.admin-message.error 
{
   background: rgba(214, 70, 70, 0.20);
   border: 1px solid rgba(214, 70, 70, 0.45);
}

.user-list 
{
   margin-top: 24px;
}

.user-row 
{
   display: grid;
   grid-template-columns: 1.2fr 1fr 1.3fr;
   gap: 16px;
   align-items: start;
   padding: 16px 0;
   border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.inline-admin-form 
{
   display: grid;
   gap: 8px;
}

.checkbox-label 
{
   display: flex;
   gap: 8px;
   align-items: center;
}

.checkbox-label input 
{
   width: auto;
}

.warning-button 
{
   background: #9b6b2f;
}

/*
.lot-detail-section 
{
   justify-content: center;
}
*/

/*.lot-detail-panel 
{
   max-width: 760px;
   margin: 0 auto;
   padding: 28px;
   border-radius: 22px;
   background: rgba(24, 34, 44, 0.92);
   color: #f7f1e3;
   border: 1px solid rgba(255, 255, 255, 0.16);
   box-shadow: 0 18px 45px rgba(0, 0, 0, 0.30);
}
*/

/*
.lot-detail-panel
{
   max-width: 760px;
   margin: 0 auto;
   padding: 28px;
   border-radius: 20px;
   background: linear-gradient(180deg, #fffdf7, #f0e7d5);
   border: 1px solid rgba(47,95,67,0.14);
   box-shadow: var(--shadow);
   color: var(--ink);
}
*/

/*
.lot-detail-panel
{
   max-width: 760px;
   margin: 0 auto;
   padding: 28px;
   border-radius: 20px;
   background: linear-gradient(180deg, #fffdf7, #f0e7d5);
   border: 1px solid rgba(47,95,67,0.14);
   box-shadow: var(--shadow);
   color: var(--ink);
}
*/

/*
.lot-detail-panel
{
   max-width: 760px;
   margin: 0 auto;
   padding: 32px;
   border-radius: 20px;
   background: linear-gradient(180deg, #efe4cb, #dccba7);
   border: 1px solid rgba(88,69,42,0.25);
   box-shadow: 0 12px 28px rgba(88,69,42,0.15);
   color: var(--ink);
}

.lot-detail-panel h2
{
   color: var(--green-deep);
   margin-top: 0;
}

.lot-detail-panel.available 
{
   border-color: rgba(43, 180, 92, 0.65);
   color: #2ecc71; 
   color: #2f8f45;
}

.lot-detail-panel.reserved 
{
   border-color: rgba(160, 160, 160, 0.70);
   color: #c69218;
}


.lot-detail-panel.occupied 
{
   border-color: rgba(235, 92, 74, 0.70);
   color: #e67e22; 
   color: #c46a2a;
}
*/

/*
.lot-detail-panel.management 
{
   border-color: rgba(76, 145, 235, 0.70);
   color: #4d79ff;
}

.lot-detail-panel.management h2
{
   color: #4d79ff;
}

.lot-detail-panel.reserved h2
{
   color: #d9a640;
}

.lot-detail-panel.occupied h2
{
   color: #e67e22;
}

.lot-detail-panel.available h2
{
   color: #45a252;
}
*/

/*.lot-message 
{
   font-size: 1.12rem;
   line-height: 1.75;
}


.lot-message
{
   color: var(--muted);
   line-height: 1.8;
   font-size: 17px;
}

.payment-options 
{
   margin-top: 24px;
   padding: 18px;
   border-radius: 16px;
   background: rgba(255, 255, 255, 0.08);
}

.payment-button 
{
   display: block;
   margin: 10px 0;
   padding: 12px 14px;
   border-radius: 12px;
   background: rgba(46, 160, 67, 0.84);
   color: #fff;
   text-decoration: none;
   font-weight: 700;
}

.payment-button.disabled 
{
   background: rgba(255, 255, 255, 0.16);
   color: rgba(255, 255, 255, 0.72);
   pointer-events: none;
}

.lot-actions 
{
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 24px;
}
*/



/* Original */
/*
.lot-detail-section
{
   padding: 24px;
   background:
      linear-gradient(
         180deg,
         rgba(255, 253, 247, 0.92),
         rgba(240, 231, 213, 0.92)
      );
}
*/



/* Narrow Outline Version */
/*
.lot-detail-section
{
   max-width: 980px;
   margin: 18px auto 40px;
   padding: 22px;

   background:
      linear-gradient(
         180deg,
         rgba(255, 253, 247, 0.86),
         rgba(240, 231, 213, 0.78)
      );

   border: 1px solid rgba(47, 95, 67, 0.16);
   border-radius: 24px;

   box-shadow: var(--shadow);
}
*/



/* No Container Version */
/*
.lot-detail-section
{
   max-width: 900px;
   margin: 24px auto 42px;
   padding: 0;

   background: transparent;
   border: none;
   box-shadow: none;
}
*/

/* No Container Versions with fix for "footer CSS moving the "Lot Box" slighly to the left */
body.lot-page .lot-detail-section
{
   flex: 1;

   display: flex;
   justify-content: center;
   align-items: flex-start;

   width: 100%;
   max-width: 100%;

   margin: 18px auto 28px;
   padding: 0;

   background: transparent;
   border: none;
   box-shadow: none;
}

/* pFrame */
/*
.lot-detail-section
{
   max-width: 840px;
   margin: 20px auto 40px;
   padding: 18px;

   background:
      linear-gradient(
         180deg,
         rgba(255,253,247,0.90),
         rgba(240,231,213,0.90)
      );

   border: 1px solid rgba(47,95,67,0.12);

   border-radius: 26px;

   box-shadow:
      0 8px 22px rgba(0,0,0,0.08);
}
*/

/* tighter pFrame */
/*
.lot-detail-section
{
   max-width: 800px;
   margin: 20px auto 40px;
   padding: 12px;

   background:
      linear-gradient(
         180deg,
         rgba(255,253,247,0.92),
         rgba(240,231,213,0.92)
      );

   border: 1px solid rgba(47,95,67,0.10);

   border-radius: 24px;
}
*/


.lot-detail-panel
{
   width: 100%; 
   max-width: 760px;
   margin: 0 auto;
   padding: 32px;
   border-radius: 22px;
   background: linear-gradient(180deg, #efe2c4, #dcc89f);
   border: 1px solid rgba(88, 69, 42, 0.28);
   box-shadow: 0 16px 36px rgba(88, 69, 42, 0.18);
   color: #102a1f;
}

.lot-detail-panel .eyebrow
{
   color: #5f6958;
}

.lot-detail-panel h2
{
   margin-top: 8px;
   color: var(--green-deep);
   font-weight: 700;
}

.lot-message
{
   font-size: 17px;
   line-height: 1.75;
   color: #2f352b;
   font-weight: 700;
}

.payment-options
{
   margin-top: 24px;
   padding: 18px;

   border-radius: 16px;

   background:
      linear-gradient(
         180deg,
         rgba(255, 253, 247, 0.30),
         rgba(247, 241, 228, 0.18)
      );

   border: 1px solid rgba(88, 69, 42, 0.12);
}

.payment-options h3
{
   color: #1f6f38;
}

.payment-options p
{
   color: #2f352b;
   font-weight: 700;
   line-height: 1.65;
}

.payment-button
{
   display: block;
   margin: 10px 0;
   padding: 12px 14px;

   border-radius: 12px;

   background: #45a252;
   color: #ffffff;

   text-decoration: none;
   font-weight: 700;
}

.payment-button.disabled
{
   background: rgba(255, 253, 247, 0.46);
   color: #6c5d3f;

   border: 1px solid rgba(88, 69, 42, 0.12);

   pointer-events: none;
}



.payment-note
{
   margin-top: 14px;
   margin-bottom: 14px;

   padding: 14px 18px;

   background: rgba(255,255,255,0.45);

   border-left: 4px solid #2f5f43;
   border-radius: 10px;

   color: #102a1f;
   line-height: 1.6;
}



.lot-actions
{
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 24px;
}

.lot-actions a
{
   display: inline-block;

   padding: 12px 18px;

   border-radius: 12px;

   background: #2f5f43;
   color: #ffffff;

   border: 1px solid rgba(16, 42, 31, 0.18);

   text-decoration: none;
   font-weight: 700;
}

.lot-actions a:hover
{
   background: #102a1f;
}

.lot-detail-panel.available
{
   border-color: rgba(69, 162, 82, 0.55);
}

.lot-detail-panel.reserved
{
   border-color: rgba(217, 166, 64, 0.60);
}

.lot-detail-panel.occupied
{
   border-color: rgba(230, 126, 34, 0.65);
}

.lot-detail-panel.management
{
   border-color: rgba(77, 121, 255, 0.55);
}

.lot-detail-panel.available h2,
.lot-detail-panel.available .payment-options h3
{
   color: #2f8f45;
}

.lot-detail-panel.reserved h2
{
   color: #b88318;
}

.lot-detail-panel.occupied h2
{
   color: #b85f1f;
}

.lot-detail-panel.management h2
{
   color: #315ec9;
}



@media (max-width: 760px) 
{
   .grid-form,
   .user-row 
   {
      grid-template-columns: 1fr;
   }

   .grid-form button 
   {
      grid-column: 1;
   }
}
