body {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    color: #58a6ff;
    margin-bottom: 20px;
}

.search-container {
    position: relative; /* Ensure the suggestions are positioned relative to this container */
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#search-bar {
    width: 80%;
    max-width: 600px;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #161b22;
    color: #c9d1d9;
    box-sizing: border-box;
}

.search-suggestions {
    position: absolute; /* This positions the suggestions directly below the search bar */
    top: 100%; /* Position it directly below the search bar */
    left: 0;
    width: 100%;
    background-color: #161b22;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10; /* Make sure it appears above other content */
    margin-top: 5px; /* Optional: gives a little space between the search bar and suggestions */
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    color: #58a6ff;
}

.suggestion-item:hover {
    background-color: #30363d;
}

#prank-list {
  max-height: 75vh;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #333;
  background-color: #0d1117;
  border-radius: 8px;
}


.prank-item {
    background-color: #161b22;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.floating-menu {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 10000;
}

.menu-btn {
    background-color: orange;
    border: none;
    color: white;
    padding: 10px 14px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 16px;
    width: 160px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.menu-btn:hover {
    background-color: #d16700;
}

.prank-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.prank-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #161b22;
    padding: 30px;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.close-btn {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
}

.close-btn:hover {
    color: #ff0000;
}

#promo-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #238636;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.95em;
    box-shadow: 0 0 10px #00000040;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}


#promo-toast.show {
    opacity: 1;
}



footer {
    background: transparent;
    color: #8b949e;
    text-align: center;
    padding: 12px;
    font-size: 0.9em;
    border-top: 1px solid #21262d;
    position: fixed;
    width: 100%;
    bottom: 0;
}

::placeholder {
   text-align: center; 
}



/* Form Container */
#prank-form {
    background-color: #161b22;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    height:320px;
    overflow-y: auto;
    max-width: 600px;
    margin-top: 20px;
    text-align: left;
}

/* Form Field Labels */
#prank-form label {
    display: block;
    margin: 10px 0 5px;
    color: #c9d1d9;
    font-size: 14px;
}

/* Form Input Fields */
#prank-form input,
#prank-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #161b22;
    color: #c9d1d9;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box; /* Ensure padding does not affect width */
}

/* Adjustments for Textarea */
#prank-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
#prank-form button {
    background-color: #238636;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box; /* Ensure padding does not affect width */
}

/* Button Hover Effect */
#prank-form button:hover {
    background-color: #2ea043;
}

/* Add a little space between the form and the rest of the content */
#prank-form .form-group {
    margin-bottom: 20px;
}

/* Error and Success Messages */
#prank-form .error-message {
    color: #ff0000;
    margin-top: 10px;
}

#prank-form .success-message {
    color: #28a745;
    margin-top: 10px;
}

#category {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  margin-bottom: 16px;
  border-radius: 6px;
  background-color: #161b22;
  color: #c9d1d9;
  border: 1px solid #444;
}

