.custom-cursor {
    cursor: pointer;
}

#canvas {
    width: 100%;
    height: calc(100vh - 40px);
}

#button-bar {
    background-color: #f1f1f1;
    padding: 10px;
}

.button {
    padding: 6px 10px;
    margin-right: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.textarea {
    vertical-align: middle;
    position: absolute;
    resize: none;
    overflow: hidden;
    padding: 0;
    background-color: rgba(255, 255, 255, 0);
    border-color: #BCBCBC;
    margin: 0;
    /* border: none; */
    z-index: 3;
}

.add-button, .remove-button {
    border: 2px solid rgb(0, 142, 96);
    background-color: #fff;
    font-size: clamp(6px, 8px, 10px);
    height: 2.5em;
    width: 2.5em;
    border-radius: 999px;
    position: absolute;
    cursor: pointer;
    z-index: 3;
}

.add-button:after,
.add-button:before {
    content: "";
    display: block;
    background-color: rgb(0, 142, 96);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.add-button:before {
    height: 1em;
    width: 0.2em;
}

.add-button:after {
    height: 0.2em;
    width: 1em;
}

.remove-button:after {
    content: "";
    display: block;
    background-color: rgb(0, 142, 96);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 0.2em;
    width: 1em;
}

.button--small {
    font-size: clamp(4px, 6px, 8px);
}

.tool {
    width: 100px;
    height: 100px;
    background-color: #ccc;
    cursor: pointer;
    display: flex;
    position: absolute;
    width: 65px;
    height: 65px;
    z-index: 3;
    opacity: .5;
}

/* Style de la fenêtre flottante */
.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-wrapper {
    border-top-style: inherit;
    width: 40%;
    height: 80%;
    background-color: #fefefe;
    border-radius: 5%;
    border-top: solid  5px;
    max-height: 80%;
    overflow-y: auto; 
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom-style: inset;
}

.modal-title {
    font-family: InterSemiBold;
    font-size: 30px;
    width: 100%;
    text-align: center;
}

/* .modal-content {
    padding: 20px;
} */

.modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

.icon {
    background-color: #ccc;
    cursor: pointer;
    display: flex;
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 3;
    opacity: .5;
}

.modal-input {
    width: 500px;
	height: 50px;
	background-color: white;
	border-radius: 30px;
	display: flex;
	align-items: center;
	padding: 20px;
}

.modal-input > i {
	font-size: 20px;
	color: #777;
}

.modal-input > input {
	flex: 1;
	height: 40px;
	border: none;
	outline: none;
	font-size: 18px;
    font-family: InterRegular;
	padding-left: 10px;
    border-radius: 30px;
    background-color: rgb(240, 240, 240);
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    cursor: pointer;
}

.icon-input {
    width:80%;
    border-radius: 30px;
    background-color: #e2e2e2;
	height: 40px;
	font-size: 20px;
	padding-left: 30px;
    font-family: InterRegular;
}

.icon-gallery i {
    font-size: 24px;
    padding: 10px;
}

.icon-table {
    width: 95%;
    border-collapse: collapse;
    margin-left: 5%;
}

.icon-table td {
    /* border: 1px solid #ddd; */
    padding: 8px;
}

/* .icon-table tr:nth-child(even) {
    background-color: #f2f2f2;
} */

.icon-table tr:hover {
    background-color: #ddd;
}

.icon-table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4CAF50;
    color: white;
}

.icon-table i {
    font-size: 24px;
    padding-right: 10px;
}

.icon-table td:first-child {
    width: 24px;
}

.icon-image {
    width: 24px;
    height: 24px;
}

.icon-text {
    font-family: InterRegular;
}