:root {
    --buttonBackground: var(--backgroundColor);
    --buttonHighlight: var(--highlightColor);
    --buttonTextColor: var(--softTextColor);
    --buttonHighlightColor: var(--panelColor);
    --labelColor: var(--softTextColor);
}

form {
    margin-bottom: 40px;
    margin-top: 40px;
    margin-right: auto;
    margin-left: auto;
    max-width: 600px;
}

label {
    display: block;
    font-size: 1.17em;
    margin-top: 30px;
    font-weight: normal;
}

input {
    height: 30px;
    width: 100%;
    flex-grow: 1;
    border-width: 1px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-color: var(--panelHightlight);
    color: var(--softTextColor)
}

input:focus {
    outline: none;
}

button, .button {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    min-height: 30px;
    border: none;
    transition: 0.2s;
    color: var(--buttonTextColor);
    border-radius: var(--borderRadius);
    margin-top: 15px;
}

button:hover {
    background-color: var(--buttonHighlight);
    color: var(--buttonHighlightColor);
}

.listButton {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    background-color: white;
    text-align: left;
    padding: 20px;
    border-bottom: 1px var(--panelHightlight) solid;
    border-radius: 0;
    margin: 0;
}

.listButton:hover h3,  .listButton:hover p{
    color: var(--buttonHighlightColor);
}

.listButton p {
    font-size: 0.7rem;
    line-height: 1rem;
}

.selectedCard {
    background-color: #941114;
    color: white;
}

#selectedMessage, #selectedView {
    background-color: var(--buttonBackground);
    margin-top: 15px;
    font-size: 13px;
    border-radius: var(--borderRadius);
}

#selectedMessage:hover, #selectedView:hover {
    background-color: var(--buttonHighlight);
    margin-top: 15px;
}

.deletableItem {
    width: auto;
    height: auto;
    background-color: #941114;
    color: white;
    font-weight: bold;
    font-size: 12px;
    padding: 9px;
    border-style: solid;
    border-width: 1px;
    border-color: #941114;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: inline-block;
    transition: 0.2s;
}

.deletableItem:after{
    line-height: 0;
    font-size: 16px;
    display: inline-block;
    margin-left: 5px;
    content: "x"; /* This will render the 'X' */
}

.deletableItem span {
    pointer-events: none;
    max-width: 250px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
}

.deletableItem:hover {
    background-color: white;
    border-color: #941114;
    color: #941114;
    text-decoration: line-through;
}


.recipientContainer {
    background-color: white;
    padding: 20px;
    margin-right: auto;
    margin-left: auto;
    width: 800px;
}

#sendButton {
    width: 200px;
    height: 40px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    display: block;
    font-weight: bold;
    font-size: 15px;
    border-bottom:none;
}

.inputWithEndButton {
    display: flex;
    margin-top: 10px;
}

.inputWithEndButton button {
    margin: 0;
    font-size: 24px;
    margin-left: 10px;
}

.titleInput {
    color: var(--softTextColor);
    font-size: 25px;
    border: none;
}

::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(20%);
}


.iconButton {
    background-color: var(--buttonBackground);
    border-radius: 50%;
    padding: 2px;
    height: 24px;
    min-height: unset;
    margin: 0;
    box-sizing: unset;
}
