/****************************************************
 modal
 ****************************************************/

[role="dialog"]>div {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px !important;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0;
    transform: translateX(100%);
    z-index: 10000;
}

[role="dialog"]>input[type=checkbox] {
    display: none !important;
}

input[type=checkbox]:checked~div {
    visibility: visible;
    opacity: 1
}

[role="dialog"]>div>*:not(.close) {
    width: 66%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

[role="dialog"]>div>.close,
[role="alert"]>.close {
    background: url('data:image/svg+xml;utf8,<svg fill="%23000000" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M 12 2 C 6.4889971 2 2 6.4889971 2 12 C 2 17.511003 6.4889971 22 12 22 C 17.511003 22 22 17.511003 22 12 C 22 6.4889971 17.511003 2 12 2 z M 12 4 C 16.430123 4 20 7.5698774 20 12 C 20 16.430123 16.430123 20 12 20 C 7.5698774 20 4 16.430123 4 12 C 4 7.5698774 7.5698774 4 12 4 z M 8.7070312 7.2929688 L 7.2929688 8.7070312 L 10.585938 12 L 7.2929688 15.292969 L 8.7070312 16.707031 L 12 13.414062 L 15.292969 16.707031 L 16.707031 15.292969 L 13.414062 12 L 16.707031 8.7070312 L 15.292969 7.2929688 L 12 10.585938 L 8.7070312 7.2929688 z"/></svg>') center right no-repeat;
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

/****************************************************
 convenience
 ****************************************************/

[role="alert"] {
    margin: 1.5em;
    padding: 1.5em;
    position: relative;
    border-radius: 5px;
    color: black;
}

[role="alert"]>.close {
    position: absolute;
    top: 10px;
    right: 10px;
}

.fill {
    width: 100%;
}

ul.tags-list {
    padding-left: 0;
}

ul.tags-list li {
    display: inline-block;
    border-radius: 100px;
    background-color: #111111;
    color: white;
    padding: 0.3em 0.8em 0.2em 0.8em;
    line-height: 1.2em;
    margin: 2px;
    cursor: pointer;
    opacity: 0.2;
    text-transform: capitalize;
}

ul.tags-list li[data-selected=true] {
    opacity: 1.0;
}


/****************************************************
 colors
 ****************************************************/

.transparent {
    background-color: transparent;
    color: #111
}

.default {
    background-color: #0074d9;
    color: white
}

.success {
    background-color: #2ecc40;
    color: white
}

.warning {
    background-color: #ffdc00;
    color: #111
}

.error {
    background-color: #cc1f00;
    color: white
}

.info {
    background-color: #f1f1f1;
    color: #111
}

.white {
    background-color: white;
    color: #111
}

.black {
    background-color: #111;
    color: white
}

input[type="file"] {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
}

th {

    text-align: left;
    padding: 8px;
    background-color: #f2f2f2;
}

table {
    border-collapse: collapse;
    width: 100%;
}

td {
    border: 1px solid #ddd;
    padding: 8px;
}