:root {
    --planify_grundlog-x: white;
    --planify_grundlog-y: rgb(227, 212, 43);

    --planify_borderColor_inputs: #ccc;

    --planify_color_buttontext: black;
    --planify_color_text: black;

    --planify_dashboard_backgrounds: rgba(255, 255, 255, 0.95);

    --planify_divs_border: rgba(0, 0, 0, 0.3);

    --planify_background_table: white;
    --planify_background_table_hover: #f5f5f5;
}

/**
 * GLOBALs
 */
* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

*[class*="~hint"] {
    color: darkred;
    font-style: italic;
    font-size: 8pt;
}

.cursor_pointer {
    cursor: pointer;
}

.lbl_pre {
    display: inline-block;
    vertical-align: top;
    width: 200px;
}

.mission_past {
    opacity: 0.5; /* Alternative: color: gray; */
}

.mission_deleted * {
    text-decoration: line-through !important;
}

.bold {
    font-weight: bolder;
}

/**
 * BUTTONs
 */
button {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 3px;
    background: var(--planify_grundlog-y);
    color: var(--planify_color_buttontext);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 1px solid transparent;
}

button:not(.close) {
    min-width: 100px;
}

button:hover {
    border: 1px solid black;
    transform: translateY(-2px);
}

button:disabled {
    background-color: lightgray !important;
    color: black !important;
    cursor: not-allowed;
}

.close {
    border: 1px solid lightgray;
    color: white;
    background-color: red;
    float: right;
    width: fit-content;
    height: fit-content;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 7pt;
    border-radius: 3px;
}

.close:hover {
    background-color: lightpink;
    color: black;
    border: 1px solid black;
}

/**
 * INPUTs
 */
input, textarea, select {
    padding: 5px;
    border: 1px solid var(--planify_borderColor_inputs);
    border-radius: 5px;
    transition: border-color 0.3s ease;
    width: 300px;
    max-width: 350px;
    max-height: 30px;
    min-height: 30px;
}

textarea {
    max-height: 400px !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--planify_grundlog-y);
    outline: none;
}

input:read-only, textarea:read-only {
    cursor: not-allowed;
}

select:disabled {
    cursor: not-allowed;
}

select:not(:disabled) {
    cursor: pointer;
}

/**
 * IMAGEs
 */
#img_wait {
    position: fixed;
    display: block;
    width: 130px;
    height: 70px;
    right: 0;
    top: 45px;
    z-index: 555;
}

/**
 * DIVs
 */
.default_container {
    width: fit-content;
    padding: 5px;
    right: 0.5%;
    bottom: 1%;
    border-radius: 5px;
    background: var(--planify_dashboard_backgrounds);
    border: 1px solid lightgray;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.19);
    transform: translateZ(0);
}

/**
 * TABLEs
 */
table {
    border-collapse: separate;
    border-radius: 5px;
    overflow: hidden;
}