*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', 
    sans-serif;
}

label, input{
    padding: 5px;
    font-size: 14px;
}
input{
    height: calc(1.4285714286em + 0.875rem + 2px);
    width: 100%;
}

input, select{
    background-color: #fdfdfd;
    border: 1px solid #d9dbde;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
input:focus-visible, select:focus-visible {
    outline: none;
    border-color: #f59f00;
    box-shadow: 0 0 0 0.2rem #f5e2bb;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.w-100{
  width:100%;
}
.w-500{
    width: 500px;
    position: relative
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.container .error{
  color:red;
}
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
    font-size: 14px;
}
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.form-group label {
    min-width: 120px;
    margin-right: 10px;
    text-align: right;
    &::after {
        content: " *";
        color: red;
    }
}
.select-selected {
    text-wrap: wrap;
    word-break: break-all;
    padding: 4px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}
.select-options li:hover {
    background-color: #fec95c;
    color: #fafbfc;
}
.custom-select.open .select-selected {
    border-color: #f59f00;
    box-shadow: 0 0 0 0.2rem #f5e2bb;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    &:before{
    	content: "\25B2";
    }
}

.select-selected::before{
    content: "\25BC";
    right: 8px;
    position: absolute;
    font-size: 12px;
    z-index: 1;
    top: 6px;
    color: #444;
}

.select-options {
    position: absolute;
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    width: 100%;
}
.select-options li {
    padding: 4px 10px;
    cursor: pointer;
}
.select-options li:hover, select option:hover {
    background-color: #fec95c;
    color: #fafbfc;
}
.custom-select.open .select-options {
    display: block;
    z-index: 2;
}

#editor:focus-visible {
    outline: none;
}

.toolbar {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -webkit-box-shadow: 0px 6px 5px -2px #cccc;
    -moz-box-shadow: 0px 6px 5px -2px #cccc;
    box-shadow: 0px 6px 5px -2px #cccc;
    gap:5px;
}

.toolbar select{
    max-width: 3cm;
}

.toolbar button {
    padding: 6px 9px;
    border: none;
    background-color: transparent;
    border-radius: 5px;
}

.toolbar button:hover {
    background-color: #e0e0e0;
}

#insert-link{
	width: 96%;
	position: absolute;
	display: none;
	z-index: 2;
	justify-content: center;
	margin: 5px 7px;
	gap: 4px;
}

#insert-link i{
    padding: 10px;
    cursor: pointer;
}

#editor {
    max-width: 430px;
    width: auto;
    min-height: 200px;
    border: 1px solid #ccc;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 8px;
    font-family: Arial, sans-serif;
    overflow-y:auto;
    resize: vertical;
}

#editor h3 , #editor h5{
  margin:0px !important;
}

ul , ol {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}
.toolbar button.active {
    background-color: #c9c9c9;
    transition: background-color 0.15s ease-in-out;
}
blockquote {
    padding: 10px;
    border-radius: 5px;
    width: 80%;
    &::before {
        content: '\201C';
    }
    &::after {
        content: '\201D';
    }
}

a {
    cursor: pointer;
}
#dropArea {
    align-self: end;
    width: 77%;
    border: 0.2rem dashed #ccc;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

#dropArea.drag {
    border-color: #333;
}

#dropArea p {
    margin: 0;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-submit{
    max-width: 560px;
    width: 100%;
    text-align: right;
}

.form-submit button{
    background-color: #fec95c;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    border: 1px solid #ccc ;
    &:focus-visible{
        outline: none;
    }
}
.glpi-header{
    padding:15px;
}
.separator{
    box-shadow: 0 0 0px 1px #ccc7;
    background-color: #f0f3f4;
    height: 19px;
}
.footer-form{
   display:flex;
   justify-content:center;
   padding:10px;
}
div:where(.swal2-container) div:where(.swal2-popup) {
   font-size: small !important;
}