body {
    font-family:  Sans-Serif;  
    height: 100%;
    margin: 0 
}

.title {
    font-size: medium;
    color: aliceblue;
}

.transparent {
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
}

.icon_bottom_right {
  position: fixed;
  top: 100%;
  left: 100%;
  margin-top: -100px;
  margin-left: -100px;
}

.content {
    justify-content: center;
}

/* Remove the map close button */
.gm-style-iw > button {display: none !important;}

.sale_list {
    margin-bottom: 46px;
}

.sale_block {
    margin-top: 5px;
    border-style: solid; 
    border-width: 1px; 
    border-color: #27b1f4; 
    padding: 4px;
    visibility: hidden;
}

.sale_title {
    font-size: 21px;
}

.sale_desc {
    font-size: normal;
    color: #555555;
    cursor: pointer;
}

.sale_address {
    font-size: smaller;
    font-style: italic;
    color: #555555;
}

.viewed_text {
    text-align: right; 
    font-size:smaller; 
    color:27b1f4;
}

.sale_date {
    text-align: right;
    cursor: pointer;
}

.star_button {
    font-size: x-large;
    text-align: right;
    color: #27b1f4;
}

.post-your-sale {
    color: white;
    background-color: #27b1f4;
    padding: 24px;
    margin-top: 40px;
}

.app-details {
    background-color: #E7F4FD;
    padding: 12px;
    color: black;
}

.app-description {
    display:flex; 
    align-items:center;
    margin:12px;
}

/* DEPRECATED replace with sticky-element2 */
.sticky-element {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0px; 
    z-index: 1030; /* Ensure it's above other content */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

    /* Sticky container */
.sticky-element2 {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #f8f9fa;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 50px; /* collapsed height */
    transition: height 0.4s ease;
}

/* When expanded */
.sticky-element2.expanded {
    height: 300px;
}

/* The button overlay area */
.map-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background: #fff;
    cursor: pointer;
    border: none;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
}

/* Pulse animation for map-toggle */
@keyframes button-tease {
  0%, 100% {
    background-color: inherit;
    height: 40px;
  }
  20%, 60% {
    background-color: #E7F4FD;
    height: 65px; /* playful expansion */
  }
  40%, 80% {
    background-color: rgb(159, 211, 238);
    height: 50px;
  }
}

.flash-highlight {
  animation: button-tease 0.6s ease-in-out 1;
}

/* Hide button overlay */
    #hideMapBtn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

/* Map container hidden until expansion */
#map {
    width: 100%;
    height: 100%;
    display: none;
    position: relative;
}

.small-icon {
    font-size: 12px; /* Make the icon smaller */
    position: relative;
    top: -4px; /* Move up slightly */
    left: 6px; /* Push to the right */
    opacity: 0.8; /* Optional: Reduce opacity for a subtle effect */
}

.link-like {
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .link-like:hover {
    color: #27b1f4;
  }
  