/*
Theme Name: Salient Child
Theme URI: https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Template: salient
Author: ThemeNectar
Author URI: https://themeforest.net/user/themenectar
Description: An Ultra Responsive Multi-Purpose Theme.
Version: 17.0.7.1739566164
Updated: 2025-02-14 21:49:24

*/



.quest-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.quest-item {
    padding: 15px;
    border-radius: 10px;
    background: black;
    transition: 0.3s;
}

.quest-item:hover {
    background: #111111;
    transform: scale(1.02);
}

.quest-status {
    font-weight: bold;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.quest-status:before {
    content: "⚡ ";
}

/* Farben für die Statusanzeige */
.quest-status:contains("Offen") {
    background: green;
}

.quest-status:contains("Geclaimed") {
    background: orange;
}

.quest-status:contains("Abgeschlossen") {
    background: gray;
}


.quest-button {
    display: inline-block;
    padding: 8px 15px;
    background: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.quest-button:hover {
    background: #005bb5;
}
.quest-desc {
    font-style: italic;
    color: #aaa;
}

.ui-autocomplete {
    background: #1c1c1c;  /* Dunkler Hintergrund */
    border: 1px solid #444;
    border-radius: 6px;
    padding: 5px 0;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 1000;  /* Wichtig: Stellt sicher, dass es über anderen Elementen liegt */
    width: auto !important;
    min-width: 200px;
}

.ui-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.ui-menu-item {
    padding: 10px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.ui-menu-item-wrapper {
    display: block;
    padding: 8px 15px;
}

/* Stellt sicher, dass das Dropdown nicht versteckt wird */
.ui-helper-hidden-accessible {
    display: none;
}


/* Dunkles Design für das Quest-Formular */
.quest-info {
    background-color: #1e1e1e;
    color: #ccc;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.quest-info p {
    margin: 10px 0;
}



/* Button anpassen */
.quest-info button {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.quest-info button:hover {
    background-color: #555;
}

/* Autocomplete-Feld anpassen */
.quest-info input[type="text"] {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    border-radius: 5px;
}

/* Input Hover */
.quest-info input[type="text"]:hover {
    border-color: #ff7e00;
}



/* Acc Switch */
.account-switcher-form {
    background: #222;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.account-switcher-form label {
    display: block;
    font-size: 14px;
    color: #ddd;
    margin-bottom: 5px;
}

.account-switcher-form select,
.account-switcher-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    background: #333;
    color: #fff;
}

.account-switcher-form input[type="submit"] {
    background: #4a90e2;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.account-switcher-form input[type="submit"]:hover {
    background: #357ABD;
}

.linked-accounts-list {
    list-style: none;
    padding: 0;
}

.linked-accounts-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #333;
    border-radius: 5px;
    margin-bottom: 5px;
}

.switch-button {
    color: #4a90e2;
    text-decoration: none;
    font-weight: bold;
}

.success-message {
    color: #4CAF50;
    font-weight: bold;
    margin-top: 10px;
}

.error-message {
    color: #ff5252;
    font-weight: bold;
    margin-top: 10px;
}



#account-results {
    position: absolute;
    width: 100%;
    background: #222;
    border: 1px solid #444;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 999;
}

.user-suggestion {
    padding: 10px;
    cursor: pointer;
    color: #ddd;
}

.user-suggestion:hover {
    background: #444;
}

.no-results {
    padding: 10px;
    color: #ff5252;
}


.quest-container{
	padding-top: 0px !important;
}