/* Estilos para o botão de fonte */
.font-button {
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.font-button:hover {
    background: #f0f0f0;
}

/* Popup de seleção de fonte */
.font-popup {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 8px;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    min-width: 300px;
}

/* Opções de fonte */
.font-option {
    display: flex;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    align-items: center;
    gap: 15px;
}

.font-option:hover {
    background: #f5f5f5;
}

.font-preview {
    font-size: 18px;
    min-width: 100px;
}

.font-info {
    flex-grow: 1;
}

.font-name {
    font-weight: bold;
    margin-bottom: 2px;
}

.font-description {
    font-size: 12px;
    color: #666;
}

/* Scrollbar personalizada */
.font-popup::-webkit-scrollbar {
    width: 8px;
}

.font-popup::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.font-popup::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.font-popup::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.color-button-wrapper,
.highlight-button-wrapper {
    position: relative;
    display: inline-block;
}

.color-button,
.highlight-button {
    min-width: 35px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.color-button:hover,
.highlight-button:hover {
    background-color: #f0f0f0;
}

.color-strip {
    transition: background-color 0.2s;
}

.reset-color-button:hover {
    background-color: #f0f0f0;
}

.reset-option:hover {
    background-color: #f5f5f5;
}

.reset-dropdown-content {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}