

body {
    background-color: #f7d4c2;
    text-align: center;
    font-family: "Madimi One", sans-serif;
    display: flex;
    
}

p {
    color: white;
}

.container {
    margin: auto;
    margin-top: auto;
    margin-bottom: auto;
    justify-content: center;
    align-items: center;
}

.nav-dash{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 100px;
  padding-bottom: 100px;
}

#search-input {
    width: 300px;
    margin-bottom: 10px;
    background-color: #fcf0ec;
    border: none;
    border-radius: 8px;
    padding: 4px 16px;
    font-family: "Madimi One", sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    height: 38px;
}

#search-input::placeholder {
    color: #f7d4c2;
    opacity: 1;
}

#search-input:focus {
    background-color: #fcf0ec;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: #e9814a;
    outline: none;
}


.madimi-one-regular {
    font-family: "Madimi One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Soft, modern search input styling */
.form-control {
    background-color: #fcf0ec;
    border: none;
    border-radius: 8px;
    padding: 4px 16px;
    font-family: "Madimi One", sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    height: 38px;
}

/* Homepage specific search input styling */
.nav-dash .form-control {
    width: 300px;
    margin-bottom: 10px;
}

.form-control::placeholder {
    color: #f7d4c2;
    opacity: 1;
}

.form-control:focus {
    background-color: #fcf0ec;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: #e9814a;
    outline: none;
}

.form-control:not(:placeholder-shown) {
    color: #e9814a;
}

.buttons {
    margin-top: 10px;
}

.btn {
    background-color: #f7d4c2;
    border-radius: 8px;
    border: 1px solid rgba(233, 129, 74, 0.2);
    margin: 5px;
    color: #e9814a;
    font-family: "Madimi One", sans-serif;
    user-select: none;
    padding: 8px 16px;
    box-shadow: 0 4px 0 #e5b5a0,
              0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    transition: all 0.1s ease;
    position: relative;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 0 #e5b5a0,
              0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 0 0 #e5b5a0,
              0 0 2px rgba(0, 0, 0, 0.1);
    background-color: #f5cbb7;
}

h1 {
    user-select: none;
    color: white;
}

img {
    user-select: none;
}

/* API Switch Styles */
.api-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.api-label {
    color: #e9814a;
    font-family: "Madimi One", sans-serif;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.api-label.active {
    opacity: 1;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f7d4c2;
    border: 2px solid #e9814a;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background-color: #e9814a;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #f7d4c2;
}

input:checked + .slider:before {
    transform: translateX(26px);
}


