/* Reset some basic elements */
body, h1, p {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.kader {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.labelKop {
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
    display: inline-block;
}

#drop-zone {
    border: 5px dotted green;
    width: 100%;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 20px;
    cursor: pointer;
}

#drop-zone:hover {
    background-color: rgba(0, 242, 0, 0.14);
}

.aac-file-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.aac-file-name {
    flex: 0 0 20%; /* 30% of the container width, and don't grow or shrink */
    max-width: 20%; /* enforce maximum width */
}

.aac-file-player {
    flex: 0 0 30%; /* 40% of the container width, and don't grow or shrink */
    max-width: 40%; /* enforce maximum width */
}

/* Add this class for the third column */
.aac-file-info {
    flex: 0 0 50%; /* 30% of the container width, and don't grow or shrink */
    max-width: 30%; /* enforce maximum width */
}


/* Color relations */
.color-container {
    display: flex;
    flex-wrap: wrap;
}
.color-card {
    width: 200px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}
.color-preview {
    height: 50px;
    display: block;
}
.color-name, .color-action, .color-keywords {
    padding: 10px;
}
.color-keywords {
    display: none;
}

.keyword {
    display: inline-block;
    margin-right: 10px;
    position: relative;
}
.keyword .trashcan {
    display: none;
    position: absolute;
    top: 0;
    right: -10px;
}
.keyword:hover .trashcan {
    display: inline;
}


.custom-select {
    position: relative;
    width: 200px;
}

.selected-option {
    border: 1px solid #ccc;
    padding: 10px;
}

.custom-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    width: 100%;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.custom-option {
    padding: 10px;
    cursor: pointer;
}

.color-box {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 10px;
}

.custom-options.show {
    display: block;
}


/* Add some styling to the header, main and footer sections */
header, main, footer {
    padding: 20px;
}

header {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

main {
    margin: 20px 0;
}

form {
    margin-left: 10px;
}

footer {
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    text-align: center;
}

a {
    color: blue;
    text-decoration: none;
    background-color: lavender;
    padding: 5px 10px;
    border-radius: 4px;
}
a:hover{
    background-color: #7d88fa;
    color: white;
}

.warning{
    background-color: #faa9a4;
    color: white;
}

.warning:hover{
    background-color: #fa5453;
    color: white;
}

input[type=text], input[type=password], select{
    width: 400px;
    padding: 4px;
    border: 1px solid grey;
    border-radius: 4px;
}
textarea{
    width: 97%;
    height: 300px;
    padding: 4px;
    border: 1px solid grey;
    border-radius: 4px;
}



/*Navigation*/
nav {
    width: 100%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav li {
    width: 100%;
    border-bottom: 1px solid #ddd;
}

nav li:last-child {
    border-bottom: none;
}

nav li a {
    display: block;
    color: #000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color .3s;
}

nav li a:hover {
    background-color: #ddd;
}

/* Desktop Styles */
@media (min-width: 768px) {
    nav ul {
        display: flex;
        flex-wrap: wrap;
    }

    nav li {
        width: auto;
        border-bottom: none;
    }

    nav li a {
        padding: 20px;
    }
}

#drop-zone{
    border: 5px dotted green;
}

/*Page*/
.pageHeader{
    font-size: x-large;
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pageHeader a {
    font-size: 0.6em;
    margin-left: auto;
}

.system-message-error {
    background-color: rgba(255, 0, 0, 0.36);
    padding: 10px;
    /* other styles for error messages... */
}

.system-message-success {
    background-color: rgba(0, 128, 0, 0.36);
    padding: 10px;
    /* other styles for success messages... */
}

.system-message-default {
    background-color: rgba(128, 128, 128, 0.35);
    padding: 10px;
    /* other styles for default messages... */
}