body {
    font-family: Lato;
}


/* Input */
.searchForm {
    background-color: #333232;
    border-radius: 50px;
    height: 50px;
    font-size: 15px;
    padding: 10px 20px;
    border: #333232 2px solid;
    opacity: 0.9;
    color: white;
    width: 60%;


    /* Mobile styles */
    @media (max-width: 768px) {
        width: calc(100% - 20px);
        margin-right: 10px;  
    }
}


input {
    border: none;

    outline: none;

}

/* End */

/* Top */
.maintop {
    align-items: center;
    justify-content: space-between;
    display: flex;
    grid-template-columns: auto 1fr;
}

/* End */

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
    float: right;
    margin-right: 20px;

}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    display: none;
    float: right;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: center;
    list-style: none;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    border: 3px solid #42A5F5;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu {
    color: inherit;

    font-size: inherit;
    background: white;

    border: 3px solid black;
    margin-right: 2.6rem;
    box-shadow: 0 0 0 #42A5F5;
    transition: all 0.2s;
}

.dropdown-menu:last-child {
    margin: 0;
}

.dropdown-menu:hover {
    box-shadow: 0.4rem 0.4rem 0 #42A5F5;
    transform: translate(-0.4rem, -0.4rem);
}

/* End */

/* Buttons */
.btn {
    display: inline-block;
    border: 2px;
    border-radius: 7px;
    cursor: pointer;
    /*transition: border-radius 0.3s ease, box-shadow 0.3s ease;*/
}

/*.btn:hover {
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}*/

.btn {
    /*border: 3px solid #42A5F5;*/
    color: #fff;
    background-color: #302f2f;
}

/*.btn:hover {
    background-color: #333232;
    border: 3px solid #42A5F5;
    color: #42A5F5;
}*/

#result-button {
    margin-left: 150px;
    color: white;

    /* Mobile styles */
    @media (max-width: 768px) {
        margin-left: 20px;


    }
}

/*AutoSug*/

/* Container */
#searchzone {
  position: relative; /* needed for absolute dropdown positioning */
  width: 100%;
}

/* Search input */
#searchbar {
  width: 100%;
  height: 55px;
  padding: 0 20px;
  border-radius: 50px;
  border: none;
  background-color: #333232;
  color: white;
  font-size: 16px;
  box-sizing: border-box;
}

/* Suggestions dropdown */
.suggestions {
  position: absolute;
  top: 100%; /* flush below input */
  left: 0;
  width: 100%;
  max-height: 200px; /* sets the dropdown height */
  overflow-y: auto; /* scrollable dropdown */
  background-color: #1e1e1e;
  border-top-left-radius: 10px;   /* match input top corners */
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px; /* bottom corners slightly rounded */
  border-bottom-right-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: none; /* toggle with JS */
  margin: 0;
  padding: 0;
}

/* Suggestion items */
.suggestion-item {
  padding: 6px 15px; /* smaller padding, compact */
  cursor: pointer;
  text-align: left;  /* left-aligned text */
  font-size: 14px;
  border-bottom: 1px solid #2c2c2c;
  line-height: 1.3;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background-color: #2a2a2a;
}

/* Highlighted text inside suggestion */
.highlight {
  color: #42A5F5;
  font-weight: bold;
}


